tfse-etl-api-v0.2/Dockerfile

7 lines
230 B
Docker
Raw Permalink Normal View History

2021-12-08 14:40:36 +08:00
FROM python:3.8
WORKDIR /usr/src/app/etl_tfse
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"]