diff --git a/deploy/Dockerfile b/deploy/Dockerfile new file mode 100644 index 0000000..7cf6a17 --- /dev/null +++ b/deploy/Dockerfile @@ -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 \ No newline at end of file diff --git a/deploy/requirements.txt b/deploy/requirements.txt new file mode 100644 index 0000000..1802f99 --- /dev/null +++ b/deploy/requirements.txt @@ -0,0 +1,4 @@ +Django<1.10 +djangorestframework==3.3.3 +pillow +jsonfield