QQ-GitHub-Bot/Dockerfile

9 lines
295 B
Docker
Raw Normal View History

2020-09-17 14:42:41 +00:00
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