mirror of
https://github.com/11notes/docker-kms-gui.git
synced 2025-11-16 02:11:25 +00:00
remove pip3
This commit is contained in:
@@ -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 /
|
||||||
|
|||||||
Reference in New Issue
Block a user