Merge pull request #615 from allingeek/master

Adding a volume for the default 'registry-dev' location.
This commit is contained in:
Olivier Gambier 2015-06-11 12:51:36 -07:00
commit 6deedd29d9

View file

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