remove pip3

This commit is contained in:
ElevenNotes
2025-02-06 13:07:19 +01:00
parent 2a22a33e47
commit c0f1ae00d7

View File

@@ -53,14 +53,15 @@
# :: install application # :: install application
RUN set -ex; \ RUN set -ex; \
apk --no-cache --update add \ apk --no-cache --update add \
python3=3.12.8-r1 \ python3=3.12.8-r1; \
py3-pip ; \ apk --no-cache --update --virtual .build add \
pip3 install --upgrade pip --break-system-packages; py3-pip;
RUN set -ex; \ RUN set -ex; \
mkdir -p ${APP_ROOT}/var; \ mkdir -p ${APP_ROOT}/var; \
cd /opt/py-kms-gui; \ cd /opt/py-kms-gui; \
pip3 install --no-cache-dir -r /opt/py-kms-gui/requirements.txt --break-system-packages; pip3 install --no-cache-dir -r /opt/py-kms-gui/requirements.txt --break-system-packages; \
apk del --no-network .build;
# :: copy filesystem changes and set correct permissions # :: copy filesystem changes and set correct permissions
COPY ./rootfs / COPY ./rootfs /