File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ RUN python3 -m venv /opt/py3 && \
2626 poetry config virtualenvs.create false && \
2727 . /opt/py3/bin/activate && \
2828 if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "^2.2.1+cpu", source = "pytorch"}/g' pyproject.toml; fi && \
29- poetry install
29+ poetry install && \
30+ python3 /opt/maxkb/app/installer/compile.py
3031
3132FROM ghcr.io/1panel-dev/maxkb-python-pg:python3.11-pg15.8
3233ARG DOCKER_IMAGE_TAG=dev \
@@ -61,7 +62,6 @@ RUN chmod 755 /opt/maxkb/app/installer/run-maxkb.sh && \
6162 cp -f /opt/maxkb/app/installer/run-maxkb.sh /usr/bin/run-maxkb.sh && \
6263 cp -f /opt/maxkb/app/installer/init.sql /docker-entrypoint-initdb.d && \
6364 curl -L --connect-timeout 120 -m 1800 https://resource.fit2cloud.com/maxkb/ffmpeg/get-ffmpeg-linux | sh && \
64- python3 /opt/maxkb/app/installer/compile.py && \
6565 mkdir -p /opt/maxkb/app/sandbox/python-packages && \
6666 find /opt/maxkb/app -mindepth 1 -not -name 'sandbox' -exec chmod 700 {} + && \
6767 chmod 755 /tmp && \
You can’t perform that action at this time.
0 commit comments