mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
deps: lock versions.
This commit is contained in:
parent
fb64731cd8
commit
a0541203e4
|
|
@ -25,7 +25,7 @@ RUN python3 -m venv /opt/py3 && \
|
|||
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.6.0+cpu", source = "pytorch"}/g' pyproject.toml; fi && \
|
||||
if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "2.6.0+cpu", source = "pytorch"}/g' pyproject.toml; fi && \
|
||||
poetry install && \
|
||||
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb/app/apps/manage.py compilemessages
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue