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