From 5e4b21f8164a7d86f9baca523403f1c734731a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20P=C3=B6schl?= Date: Wed, 14 Jul 2021 22:46:33 +0200 Subject: [PATCH] Fix python lib path in alpine images --- docker-files/debian.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-files/debian.Dockerfile b/docker-files/debian.Dockerfile index c9105e1d..73580a52 100644 --- a/docker-files/debian.Dockerfile +++ b/docker-files/debian.Dockerfile @@ -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/