Merge branch 'main' of github.com:1Panel-dev/MaxKB

v3.2
shaohuzhang1 2024-03-21 15:33:13 +08:00
commit 3992351054
1 changed files with 1 additions and 1 deletions

View File

@ -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 && \