diff --git a/Dockerfile b/Dockerfile index 44960d45..8cedfe28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,12 +20,12 @@ 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 \ && python /home/pi/pialert/back/pialert.py update_vendors \ - && (crontab -l 2>/dev/null; cat /home/pi/pialert/install/pialert.cron) | crontab - \ + && (crontab -l 2>/dev/null; cat /home/pi/pialert/install/pialert.cron) | crontab - #&& chgrp -R www-data /home/pi/pialert/db \ - && chmod -R 777 /home/pi/pialert/db + #&& chmod -R 755 /home/pi/pialert/db EXPOSE 80 -# +# https://github.com/rtsp/docker-lighttpd/blob/main/Dockerfile CMD ["/home/pi/pialert/dockerfiles/start.sh"] \ No newline at end of file