From 6533b87109e7fa7af2b3beaafb04cb1404b380bc Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Thu, 21 Mar 2024 15:08:27 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=B0=9D=E8=AF=95=E5=8E=BB?= =?UTF-8?q?=E6=8E=89nvidia=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installer/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installer/Dockerfile b/installer/Dockerfile index 6d88fc20d..44a1199f8 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -23,9 +23,12 @@ RUN mv /opt/maxkb/app/model/* /opt/maxkb/model && \ cp -r /opt/maxkb/model/base/hub /opt/maxkb/model/tokenizer && \ apt-get update && apt-get install -y curl && \ pip3 install --upgrade pip && \ - pip3 install poetry && \ + cat pyproject.toml && \ if [ `uname -m` == "aarch64" ]; then sed -i '/^torch/d' pyproject.toml; fi && \ + cat pyproject.toml && \ + pip3 install poetry && \ poetry export -f requirements.txt --output requirements.txt --without-hashes && \ + cat requirements.txt && \ pip3 install --no-cache-dir -r requirements.txt && \ pip3 cache purge && \ rm -rf /var/lib/apt/lists/*