diff --git a/arch.dockerfile b/arch.dockerfile index 8022d5c..cea1bc6 100644 --- a/arch.dockerfile +++ b/arch.dockerfile @@ -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 diff --git a/compose.yaml b/compose.yaml index 029fcef..0403341 100644 --- a/compose.yaml +++ b/compose.yaml @@ -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: \ No newline at end of file