build: docker
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user