Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

config through env vars #350

Merged
merged 3 commits into from
May 16, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ ADD ./config/boto.cfg /etc/boto.cfg
RUN pip install /docker-registry/

ENV DOCKER_REGISTRY_CONFIG /docker-registry/config/config_sample.yml
ENV SETTINGS_FLAVOR dev

EXPOSE 5000

CMD cd /docker-registry && ./setup-configs.sh && exec docker-registry
WORKDIR /docker-registry

CMD exec docker-registry
Loading