mirror of
https://github.com/11notes/docker-kms-gui.git
synced 2025-10-23 04:52:15 +00:00
[fix] upgrade all BUT pip
This commit is contained in:
@@ -57,7 +57,7 @@ ARG APP_GID=1000
|
||||
echo "${APP_VERSION}" > VERSION; \
|
||||
echo "master" >> VERSION; \
|
||||
pip3 install --no-cache-dir --break-system-packages -r /opt/py-kms/requirements.gui.txt; \
|
||||
pip3 list -o | cut -f1 -d' ' | tr " " "\n" | awk '{if(NR>=3)print}' | cut -d' ' -f1 | xargs -n1 pip3 install --no-cache-dir --break-system-packages -U; \
|
||||
pip3 list -o | sed 's/pip.*//' | grep . | cut -f1 -d' ' | tr " " "\n" | awk '{if(NR>=3)print}' | cut -d' ' -f1 | xargs -n1 pip3 install --no-cache-dir --break-system-packages -U; \
|
||||
apk del --no-network .build;
|
||||
|
||||
# :: copy filesystem changes
|
||||
|
@@ -9,10 +9,11 @@ services:
|
||||
ports:
|
||||
- "1688:1688/tcp"
|
||||
restart: "always"
|
||||
|
||||
gui:
|
||||
image: "11notes/kms-gui:465f4d1"
|
||||
depends_on:
|
||||
kms:
|
||||
app:
|
||||
condition: "service_healthy"
|
||||
restart: true
|
||||
environment:
|
||||
@@ -22,5 +23,6 @@ services:
|
||||
ports:
|
||||
- "3000:3000/tcp"
|
||||
restart: "always"
|
||||
|
||||
volumes:
|
||||
var:
|
Reference in New Issue
Block a user