build: update Dockerfile.
This commit is contained in:
parent
220168c4bf
commit
5e8dd48032
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user