From 07de6cd17ae1b53a946c2e5228946268962957bf Mon Sep 17 00:00:00 2001 From: Macleykun Date: Fri, 17 Jun 2022 23:06:27 +0200 Subject: [PATCH] added lighttpd-enable-mod fastcgi-php to fix the permission --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1759cd59..26f945ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,14 +8,14 @@ RUN apt-get update \ && apt-get clean autoclean \ && apt-get autoremove \ && rm -rf /var/lib/apt/lists/* \ - && ln -s /home/pi/pialert/install/index.html /var/www/html/index.html + && ln -s /home/pi/pialert/install/index.html /var/www/html/index.html # Redirect for lighthttpd to work properly COPY . /home/pi/pialert # delete .git/ files and the tar/ realese directory to make the image smaller #RUN rm -r /home/pi/pialert/.git \ -RUN rm -r /home/pi/pialert/tar +RUN rm -r /home/pi/pialert/tar && lighttpd-enable-mod fastcgi-php # Pi.Alert RUN ln -s /home/pi/pialert/front /var/www/html/pialert \