chore: remove diskcache2 from pip install in Dockerfile
This commit is contained in:
parent
6c27fe68fe
commit
8e8726cd9d
@ -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 {} + && \
|
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 MAXKB_CONFIG_TYPE=ENV && python3 /opt/maxkb-app/apps/manage.py compilemessages && \
|
||||||
export PIP_TARGET=/opt/maxkb-app/sandbox/python-packages && \
|
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
|
rm -rf /opt/maxkb-app/installer
|
||||||
|
|
||||||
FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.5
|
FROM ghcr.io/1panel-dev/maxkb-base:python3.11-pg17.5
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user