upgrade to django 1.11.16 and python3.6
This commit is contained in:
parent
b32465e85f
commit
bc0258ea8f
17 changed files with 155 additions and 84 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal 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"]
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue