From 5d3ab7ce3e2b90e5e20b897b862e77ca34873d7b Mon Sep 17 00:00:00 2001 From: reconman Date: Sat, 13 Apr 2024 17:42:48 +0200 Subject: [PATCH] Copy pip dependencies to /home/tautulli #227 --- Docker/Tautulli/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Docker/Tautulli/Dockerfile b/Docker/Tautulli/Dockerfile index ca1c0bc..de3399d 100644 --- a/Docker/Tautulli/Dockerfile +++ b/Docker/Tautulli/Dockerfile @@ -16,11 +16,10 @@ FROM tautulli/tautulli WORKDIR /plexanisync # copy only the dependencies installation from the 1st stage image -COPY --from=builder /root/.local /root/.local -RUN chmod -R a+rX /root +COPY --from=builder --chown tautulli:tautulli /root/.local /home/tautulli/.local # update PATH environment variable -ENV PATH=/root/.local:$PATH -ENV PYTHONPATH=/root/.local/lib/python3.9/site-packages +ENV PATH=/home/tautulli/.local:$PATH +ENV PYTHONPATH=/home/tautulli/.local/lib/python3.9/site-packages ENV PLEX_SECTION=Anime \ PLEX_URL=http://127.0.0.1:32400 \