From e85d345f62b6175146ce0eafb904675a10b04e85 Mon Sep 17 00:00:00 2001 From: hemengyang Date: Thu, 6 Jan 2022 16:23:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20poetry:=20not=20fou?= =?UTF-8?q?nd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base.Dockerfile b/base.Dockerfile index f7aa44e2..54162a0c 100644 --- a/base.Dockerfile +++ b/base.Dockerfile @@ -8,6 +8,6 @@ RUN apt-get update \ COPY poetry.lock pyproject.toml ./ RUN set -ex; \ curl -sSL https://install.python-poetry.org | python -; \ - poetry config virtualenvs.create false; \ - poetry install --no-dev; \ + $HOME/.poetry/bin/poetry config virtualenvs.create false; \ + $HOME/.poetry/bin/poetry install --no-dev; \ rm -rf $HOME/.poetry;