build: docker

This commit is contained in:
mol
2023-04-19 13:14:13 +08:00
parent 8f884cc352
commit a2caaddef4
7 changed files with 29 additions and 7 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.6
WORKDIR /Project/Middle-server
COPY requirements.txt ./
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY . .
CMD ["gunicorn", "start:app", "-c", "./gunicorn.conf.py"]