dev deploy

This commit is contained in:
virusdefender 2016-10-30 12:56:47 +08:00
parent 39857d1b56
commit 2f77be5c4b
2 changed files with 9 additions and 0 deletions

5
deploy/Dockerfile Normal file
View 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
View File

@ -0,0 +1,4 @@
Django<1.10
djangorestframework==3.3.3
pillow
jsonfield