Skip to content

Commit

Permalink
build: remove pyc compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
liqiang-fit2cloud committed Dec 26, 2024
1 parent f1c7ae9 commit 1d04b0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 84 deletions.
3 changes: 1 addition & 2 deletions installer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ RUN python3 -m venv /opt/py3 && \
poetry config virtualenvs.create false && \
. /opt/py3/bin/activate && \
if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "^2.2.1+cpu", source = "pytorch"}/g' pyproject.toml; fi && \
poetry install && \
python3 /opt/maxkb/app/installer/compile.py
poetry install

FROM ghcr.io/1panel-dev/maxkb-python-pg:python3.11-pg15.8
ARG DOCKER_IMAGE_TAG=dev \
Expand Down
82 changes: 0 additions & 82 deletions installer/compile.py

This file was deleted.

0 comments on commit 1d04b0b

Please sign in to comment.