diff --git a/Dockerfile b/Dockerfile index 3449ab18..0f6d71d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,11 +18,14 @@ COPY . /home/pi/pialert # Pi.Alert | also we probably should/can delete the tar from the repo and remove this line RUN rm -r /home/pi/pialert/tar \ && python /home/pi/pialert/back/pialert.py update_vendors \ + && sed -ie 's/= 80/= 20211/g' /etc/lighttpd/lighttpd.conf \ && (crontab -l 2>/dev/null; cat /home/pi/pialert/install/pialert.cron) | crontab - +EXPOSE 20211 + # 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 -CMD ["/home/pi/pialert/dockerfiles/start.sh"] \ No newline at end of file +CMD ["/home/pi/pialert/dockerfiles/start.sh"]