From 9bf965587e9bc1d795a2b6bad2c6a07ac06700d2 Mon Sep 17 00:00:00 2001 From: chenwj113 Date: Tue, 11 Jun 2024 17:19:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=94=B9Dockerfile=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RuntimeDockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RuntimeDockerfile b/RuntimeDockerfile index a5c5447..d5ef77e 100644 --- a/RuntimeDockerfile +++ b/RuntimeDockerfile @@ -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