From bf3d06e7b2355e056d21a78dcc4d95f21d6b19f2 Mon Sep 17 00:00:00 2001 From: liqiang-fit2cloud Date: Thu, 21 Mar 2024 15:28:35 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/Dockerfile b/installer/Dockerfile index 44a1199f8..ff54bd22d 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -24,7 +24,7 @@ RUN mv /opt/maxkb/app/model/* /opt/maxkb/model && \ apt-get update && apt-get install -y curl && \ pip3 install --upgrade pip && \ cat pyproject.toml && \ - if [ `uname -m` == "aarch64" ]; then sed -i '/^torch/d' pyproject.toml; fi && \ + 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 && \