Skip to content

Commit

Permalink
docker: pin Python dependencies, move ADD ./app below
Browse files Browse the repository at this point in the history
  • Loading branch information
kmike committed Oct 6, 2014
1 parent 9296e53 commit 73c7b8e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ RUN sed 's/main$/main universe/' -i /etc/apt/sources.list && \

ADD https://raw.github.com/pypa/pip/master/contrib/get-pip.py /get-pip.py
RUN python /get-pip.py
RUN pip install \
qt4reactor==1.0 \
psutil==2.1.1 \
adblockparser==0.3 \
git+https://github.com/axiak/pyre2.git@382bb743f16722b582cc2bac8fc08ff121dec20e#egg=re2 \
raven==5.0.0 \
supervisor==3.0 \
supervisor-stdout==0.1.1
ADD . /app
RUN pip install qt4reactor psutil raven \
supervisor supervisor-stdout \
adblockparser \
git+https://github.com/axiak/pyre2.git@382bb743f16722b582cc2bac8fc08ff121dec20e#egg=re2
RUN pip install /app
EXPOSE 8050 8051 5023
CMD ["/usr/local/bin/supervisord", "-c", "/app/supervisord.conf"]

0 comments on commit 73c7b8e

Please sign in to comment.