Reorder Python 2 Dockerfile to install dependencies together.
This commit is contained in:
parent
63a92e3bbd
commit
c3096e30d5
@ -27,6 +27,7 @@ python-jsonschema \
|
||||
python-kombu \
|
||||
python-lxml \
|
||||
python-migrate \
|
||||
python-mock \
|
||||
python-py \
|
||||
python-pytest \
|
||||
python-pytest-xdist \
|
||||
@ -97,13 +98,5 @@ RUN ./bin/gmg dbupdate
|
||||
RUN ./bin/gmg adduser --username admin --password a --email admin@example.com
|
||||
RUN ./bin/gmg makeadmin admin
|
||||
|
||||
RUN ./bin/pip freeze
|
||||
|
||||
USER root
|
||||
RUN apt-get install -y \
|
||||
curl \
|
||||
python-mock
|
||||
USER www-data
|
||||
|
||||
# You can change this to /bin/bash if you'd prefer a shell.
|
||||
CMD ["./lazyserver.sh", "--server-name=broadcast"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user