update dockerfile

This commit is contained in:
felinae98 2021-11-17 19:51:27 +08:00
parent ed6b7f5fd5
commit afd689b23a
No known key found for this signature in database
GPG Key ID: 00C8B010587FF610

View File

@ -1,5 +1,5 @@
FROM python:3.9
RUN python3 -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
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/