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

Commit

Permalink
add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Schwab committed Jul 20, 2013
1 parent f69fef1 commit 2a948ca
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM ubuntu

RUN sed 's/main$/main universe/' -i /etc/apt/sources.list && apt-get update
RUN apt-get install -y git-core python-pip build-essential python-dev libevent1-dev -y
RUN git clone https://github.com/dotcloud/docker-registry.git /docker-registry

RUN cd /docker-registry && pip install -r requirements.txt
RUN cp /docker-registry/config_sample.yml /docker-registry/config.yml

EXPOSE 5000

CMD cd /docker-registry && gunicorn --access-logfile - --log-level debug --debug -b 0.0.0.0:5000 -w 1 wsgi:application

0 comments on commit 2a948ca

Please sign in to comment.