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

Commit 3964f29

Browse files
committed
Merge pull request #350 from phemmer/config_cleanup
config through env vars
2 parents 38d3725 + bb69c43 commit 3964f29

File tree

10 files changed

+380
-286
lines changed

10 files changed

+380
-286
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ ADD ./config/boto.cfg /etc/boto.cfg
2121
RUN pip install /docker-registry/
2222

2323
ENV DOCKER_REGISTRY_CONFIG /docker-registry/config/config_sample.yml
24+
ENV SETTINGS_FLAVOR dev
2425

2526
EXPOSE 5000
2627

27-
CMD cd /docker-registry && ./setup-configs.sh && exec docker-registry
28+
WORKDIR /docker-registry
29+
30+
CMD exec docker-registry

0 commit comments

Comments
 (0)