Skip to content

Commit 1d04b0b

Browse files
build: remove pyc compilation.
1 parent f1c7ae9 commit 1d04b0b

File tree

2 files changed

+1
-84
lines changed

2 files changed

+1
-84
lines changed

installer/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ 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 && \
30-
python3 /opt/maxkb/app/installer/compile.py
29+
poetry install
3130

3231
FROM ghcr.io/1panel-dev/maxkb-python-pg:python3.11-pg15.8
3332
ARG DOCKER_IMAGE_TAG=dev \

installer/compile.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)