Adding a volume for the default 'registry-dev' location.

Signed-off-by: Jeff Nickoloff <jeff@allingeek.com>
This commit is contained in:
Jeff Nickoloff 2015-06-10 10:25:41 -07:00
parent b230183b0f
commit bf305c1b91

View file

@ -12,6 +12,7 @@ WORKDIR $DISTRIBUTION_DIR
COPY . $DISTRIBUTION_DIR COPY . $DISTRIBUTION_DIR
RUN make PREFIX=/go clean binaries RUN make PREFIX=/go clean binaries
VOLUME ["/tmp/registry-dev"]
EXPOSE 5000 EXPOSE 5000
ENTRYPOINT ["registry"] ENTRYPOINT ["registry"]
CMD ["cmd/registry/config.yml"] CMD ["cmd/registry/config.yml"]