fix: 更改Dockerfile安装命令
Gitea Action for docker build runtime / build-runtime (push) Successful in 34s Details

This commit is contained in:
chenwj113 2024-06-11 17:19:24 +08:00
parent 598bb654c7
commit 9bf965587e
1 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,8 @@ COPY pyproject.toml .
# RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ --prefix=/install
RUN pip install poetry -i https://mirrors.aliyun.com/pypi/simple/ \
&& poetry source add --priority=primary mirrors https://pypi.tuna.tsinghua.edu.cn/simple/ \
&& poetry install -C /install
&& poetry config virtualenvs.path /install \
&& poetry install
# 应用启动
FROM python:3.11-slim