update dockerfile

This commit is contained in:
felinae98
2021-11-18 19:12:08 +08:00
parent 14f3d64f11
commit 188c26f35e
2 changed files with 11 additions and 1 deletions
-1
View File
@@ -1,5 +1,4 @@
FROM python:3.9
RUN python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
RUN python3 -m pip install poetry && poetry config virtualenvs.create false
WORKDIR /app
COPY ./pyproject.toml ./poetry.lock* /app/