7 lines
246 B
Docker
7 lines
246 B
Docker
|
FROM python:3.8
|
||
|
WORKDIR /usr/src/app/guarantee_admin_api_v0_2
|
||
|
COPY requirements.txt ./
|
||
|
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple
|
||
|
COPY . .
|
||
|
CMD ["gunicorn", "app:app", "-c", "./gunicorn.conf.py"]
|