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:
Wenkai Yin 2018-08-20 17:00:40 +08:00
parent e10564e0be
commit 0673e7c0a9

View File

@ -10,6 +10,7 @@ RUN tdnf distro-sync -y \
COPY ./binary/chartm /chartserver/
COPY docker-entrypoint.sh /docker-entrypoint.sh
VOLUME ["/chart_storage"]
EXPOSE 9999
RUN chown -R 10000:10000 /chartserver \