mirror of
https://github.com/11notes/docker-kms-gui.git
synced 2025-10-24 16:43:45 +00:00
[fix] no cache-dir
This commit is contained in:
@@ -35,6 +35,8 @@ ARG APP_SUFFIX=""
|
|||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
ENV LOG_LEVEL=INFO
|
ENV LOG_LEVEL=INFO
|
||||||
|
|
||||||
|
ENV PIP_ROOT_USER_ACTION=ignore
|
||||||
|
|
||||||
# :: multi-stage
|
# :: multi-stage
|
||||||
COPY ./LICENSE /opt/py-kms
|
COPY ./LICENSE /opt/py-kms
|
||||||
|
|
||||||
@@ -52,8 +54,8 @@ ARG APP_SUFFIX=""
|
|||||||
cd /opt/py-kms; \
|
cd /opt/py-kms; \
|
||||||
echo "${APP_VERSION}" > VERSION; \
|
echo "${APP_VERSION}" > VERSION; \
|
||||||
echo "master" >> VERSION; \
|
echo "master" >> VERSION; \
|
||||||
pip3 install --no-cache-dir -r /opt/py-kms/requirements.gui.txt --break-system-packages; \
|
pip3 install --no-cache-dir -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 -U --break-system-packages; \
|
pip3 list -o | cut -f1 -d' ' | tr " " "\n" | awk '{if(NR>=3)print}' | cut -d' ' -f1 | xargs -n1 pip3 install --no-cache-dir -U; \
|
||||||
apk del --no-network .build;
|
apk del --no-network .build;
|
||||||
|
|
||||||
# :: copy filesystem changes
|
# :: copy filesystem changes
|
||||||
|
|||||||
Reference in New Issue
Block a user