Merge pull request #615 from allingeek/master
Adding a volume for the default 'registry-dev' location.
This commit is contained in:
commit
6deedd29d9
1 changed files with 1 additions and 0 deletions
|
@ -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 ["/var/lib/registry"]
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
ENTRYPOINT ["registry"]
|
ENTRYPOINT ["registry"]
|
||||||
CMD ["cmd/registry/config.yml"]
|
CMD ["cmd/registry/config.yml"]
|
||||||
|
|
Loading…
Reference in a new issue