From c6abb6d77d6689c439e16198f3a650fc07861dd0 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Tue, 7 Jan 2025 14:24:09 +0800 Subject: [PATCH] build: Specify the poetry version (#1989) (cherry picked from commit 923c75512bebb30d6cb2b613d20d30486c3cd74c) --- installer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/Dockerfile b/installer/Dockerfile index bd460bf8a..9c5cdaf49 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -22,7 +22,7 @@ RUN mkdir -p /opt/maxkb/app /opt/maxkb/model /opt/maxkb/conf && \ COPY --from=web-build ui /opt/maxkb/app/ui WORKDIR /opt/maxkb/app RUN python3 -m venv /opt/py3 && \ - pip install poetry --break-system-packages && \ + pip install poetry==1.8.5 --break-system-packages && \ poetry config virtualenvs.create false && \ . /opt/py3/bin/activate && \ if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "^2.2.1+cpu", source = "pytorch"}/g' pyproject.toml; fi && \