upgrade to django 1.11.16 and python3.6

This commit is contained in:
cmile 2018-10-03 00:16:28 +02:00
parent b32465e85f
commit bc0258ea8f
17 changed files with 155 additions and 84 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM python:3.6
VOLUME /opt/cbmi
RUN apt-get update && apt-get install -y libsasl2-dev python-dev libldap2-dev libssl-dev
ADD requirements.txt /requirements.txt
RUN pip install --upgrade -r /requirements.txt
RUN ls /opt/cbmi
EXPOSE 8000
ENTRYPOINT ["/opt/cbmi/start"]