diff --git a/Dockerfile b/Dockerfile index 5ba9cbb9..3449ab18 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,6 +21,7 @@ RUN rm -r /home/pi/pialert/tar \ && (crontab -l 2>/dev/null; cat /home/pi/pialert/install/pialert.cron) | crontab - # https://github.com/rtsp/docker-lighttpd/blob/main/Dockerfile +# > this one maybe better? https://hub.docker.com/r/jitesoft/lighttpd # Todo, refacto CMD so that we can run lighttpd and make it respond instant # The above Dockerfile is doing this well, but i don't see why it isn't working for us diff --git a/dockerfiles/start.sh b/dockerfiles/start.sh index f2093676..ed0be16f 100755 --- a/dockerfiles/start.sh +++ b/dockerfiles/start.sh @@ -2,4 +2,4 @@ chmod -R o+w /home/pi/pialert/db /etc/init.d/lighttpd start -cron && tail -f /var/log/syslog \ No newline at end of file +service cron start && tail -f /dev/null \ No newline at end of file