build: update Dockerfile.

This commit is contained in:
liqiang-fit2cloud 2025-04-21 14:44:00 +08:00
parent 220168c4bf
commit 5e8dd48032

View File

@ -27,8 +27,7 @@ RUN python3 -m venv /opt/py3 && \
. /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 && \
poetry install && \
#export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages \
echo test
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages
FROM ghcr.io/1panel-dev/maxkb-python-pg:python3.11-pg17.4
ARG DOCKER_IMAGE_TAG=dev \