mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
build: remove useless files.
This commit is contained in:
parent
277142c6f0
commit
214499372c
|
|
@ -28,7 +28,7 @@ RUN python3 -m venv /opt/py3 && \
|
|||
. /opt/py3/bin/activate && \
|
||||
if [ "$(uname -m)" = "x86_64" ]; then sed -i 's/^torch.*/torch = {version = "2.7.1+cpu", source = "pytorch"}/g' pyproject.toml; fi && \
|
||||
poetry install && \
|
||||
find /opt/maxkb-app -depth \( -name ".git*" -o -name ".docker*" -o -name ".idea*" -o -name ".editorconfig*" -o -name ".prettierrc*" \) -exec rm -rf {} +
|
||||
find /opt/maxkb-app -depth \( -name ".git*" -o -name ".docker*" -o -name ".idea*" -o -name ".editorconfig*" -o -name ".prettierrc*" \) -exec rm -rf {} + && \
|
||||
export MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages && \
|
||||
export PIP_TARGET=/opt/maxkb-app/sandbox/python-packages && \
|
||||
pip install diskcache2 requests pymysql psycopg2-binary
|
||||
|
|
|
|||
Loading…
Reference in New Issue