Dockerfile fixes
This commit is contained in:
parent
668ce2c7cd
commit
52590687ae
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,6 @@ RUN apt-get install -y git python-virtualenv python-dev libjpeg8 libjpeg62 libjp
|
||||||
|
|
||||||
# Build the python dependencies
|
# Build the python dependencies
|
||||||
ADD requirements.txt requirements.txt
|
ADD requirements.txt requirements.txt
|
||||||
ADD external_libraries.py external_libraries.py
|
|
||||||
RUN virtualenv --distribute venv
|
RUN virtualenv --distribute venv
|
||||||
RUN venv/bin/pip install -r requirements.txt # 01MAR2016
|
RUN venv/bin/pip install -r requirements.txt # 01MAR2016
|
||||||
RUN venv/bin/pip freeze
|
RUN venv/bin/pip freeze
|
||||||
|
@ -66,11 +65,12 @@ RUN rm -rf /etc/service/syslog-forwarder
|
||||||
|
|
||||||
# Download any external libs.
|
# Download any external libs.
|
||||||
RUN mkdir static/fonts static/ldn
|
RUN mkdir static/fonts static/ldn
|
||||||
|
ADD external_libraries.py external_libraries.py
|
||||||
RUN venv/bin/python -m external_libraries
|
RUN venv/bin/python -m external_libraries
|
||||||
RUN mkdir /usr/local/nginx/logs/
|
RUN mkdir /usr/local/nginx/logs/
|
||||||
|
|
||||||
# TODO(ssewell): only works on a detached head, make work with ref
|
# 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 all of the files!
|
||||||
ADD . .
|
ADD . .
|
||||||
|
|
Reference in a new issue