Dockerfile fixes

This commit is contained in:
Evan Cordell 2016-04-26 08:30:31 -05:00 committed by Jimmy Zelinskie
parent 668ce2c7cd
commit 52590687ae

View file

@ -13,7 +13,6 @@ RUN apt-get install -y git python-virtualenv python-dev libjpeg8 libjpeg62 libjp
# Build the python dependencies
ADD requirements.txt requirements.txt
ADD external_libraries.py external_libraries.py
RUN virtualenv --distribute venv
RUN venv/bin/pip install -r requirements.txt # 01MAR2016
RUN venv/bin/pip freeze
@ -66,11 +65,12 @@ RUN rm -rf /etc/service/syslog-forwarder
# Download any external libs.
RUN mkdir static/fonts static/ldn
ADD external_libraries.py external_libraries.py
RUN venv/bin/python -m external_libraries
RUN mkdir /usr/local/nginx/logs/
# TODO(ssewell): only works on a detached head, make work with ref
#ADD .git/HEAD GIT_HEAD
ADD .git/HEAD GIT_HEAD
# Add all of the files!
ADD . .