From 4b106030b8ab5a1dc014c19a6bf5f303707afc31 Mon Sep 17 00:00:00 2001 From: Meng <381618248@qq.com> Date: Tue, 12 Mar 2024 10:42:32 +0800 Subject: [PATCH] test --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index effb74fb3..c1c4b4139 100644 --- a/Dockerfile +++ b/Dockerfile @@ -103,8 +103,8 @@ RUN --mount=type=bind,target=./pyproject.toml,src=./pyproject.toml \ --mount=type=cache,target=/root/.cache/pip \ --mount=type=cache,target=/root/.cache/pypoetry \ python -m venv /ak-root/venv/ && \ - /ak-root/venv/bin/activate && \ - poetry config virtualenvs.create false --local \ + /bin/bash -c "source /ak-root/venv/bin/activate" && \ + poetry config virtualenvs.create false --local &&\ pip3 install --upgrade pip && \ pip3 install poetry && \ poetry install --only=main --no-ansi --no-interaction