chore: remove diskcache2 from pip install in Dockerfile
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run

This commit is contained in:
CaptainB 2025-07-09 14:22:05 +08:00
parent 6c27fe68fe
commit 8e8726cd9d

View File

@ -29,7 +29,7 @@ RUN rm -rf /opt/maxkb-app/ui && \
find /opt/maxkb-app -depth \( -name ".git*" -o -name ".docker*" -o -name ".idea*" -o -name ".editorconfig*" -o -name ".prettierrc*" -o -name "README.md" -o -name "poetry.lock" -o -name "pyproject.toml" \) -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 && \
pip install requests pymysql psycopg2-binary && \
rm -rf /opt/maxkb-app/installer
FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.5