Fix python lib path in alpine images

This commit is contained in:
Markus Pöschl 2021-07-14 22:46:33 +02:00 committed by GitHub
parent d650913c59
commit 5e4b21f816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ RUN apt-get update && \
apt-get clean && rm -rf /var/lib/apt/lists/*
COPY --from=remoteInstall /root/.local/bin /usr/local/bin/
COPY --from=remoteInstall /root/.local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages/
COPY --from=remoteInstall /root/.local/lib/python3.9/site-packages /usr/lib/python3.9/site-packages/
# EXPOSE PORT (XMLRPC / WebUI)
EXPOSE 61209 61208
@ -72,4 +72,4 @@ CMD python3 -m glances -C /glances/conf/glances.conf $GLANCES_OPT
FROM minimal as full
COPY --from=additional-packages /root/.local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages/
COPY --from=additional-packages /root/.local/lib/python3.9/site-packages /usr/lib/python3.9/site-packages/