From 91322d438c92253acf42d0c9ad89fc2362803a67 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 3 Jul 2021 12:03:56 +1000 Subject: [PATCH] dont chown -R the whole of static, as the build process will follow symlinks -- we dont want that, so just do the top-level of static --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ec845f5..8484186 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,5 +22,6 @@ RUN pip3 install --upgrade pillow --user EXPOSE 443 EXPOSE 55432 COPY . . -RUN chown -R mythtv:mythtv ./static +RUN chown mythtv:mythtv ./static +RUN chown mythtv:mythtv ./static/* CMD ["./wrapper.sh"]