dev deploy
This commit is contained in:
5
deploy/Dockerfile
Normal file
5
deploy/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
FROM python:2.7
|
||||||
|
ADD requirements.txt /tmp
|
||||||
|
RUN pip install -r /tmp/requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
WORKDIR /app
|
||||||
|
CMD python manage.py runserver 0.0.0.0:8085
|
||||||
4
deploy/requirements.txt
Normal file
4
deploy/requirements.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Django<1.10
|
||||||
|
djangorestframework==3.3.3
|
||||||
|
pillow
|
||||||
|
jsonfield
|
||||||
Reference in New Issue
Block a user