mirror of
https://github.com/goharbor/harbor
synced 2025-04-07 21:30:15 +00:00
Add VOLUME definition in Dockerfile of chart museum
The VOLUME definition in Dockerfile of chart museum will mount a volume automatically by docker if no specific volume is provided. Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
e10564e0be
commit
0673e7c0a9
|
@ -10,6 +10,7 @@ RUN tdnf distro-sync -y \
|
||||||
COPY ./binary/chartm /chartserver/
|
COPY ./binary/chartm /chartserver/
|
||||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||||
|
|
||||||
|
VOLUME ["/chart_storage"]
|
||||||
EXPOSE 9999
|
EXPOSE 9999
|
||||||
|
|
||||||
RUN chown -R 10000:10000 /chartserver \
|
RUN chown -R 10000:10000 /chartserver \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user