summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: ae83c307bd5deb346510f786b0d91e3c90834dc5 (plain)
1
2
3
4
5
6
7
8
9
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8

RUN python3 -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple

RUN python3 -m pip install poetry && poetry config virtualenvs.create false

COPY ./pyproject.toml ./poetry.lock* /app/

RUN poetry install --no-root --no-dev