mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 00:13:18 +00:00
dev deploy
This commit is contained in:
parent
39857d1b56
commit
2f77be5c4b
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
|
Loading…
Reference in New Issue
Block a user