mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
Added back expose and sed
This commit is contained in:
@@ -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"]
|
||||
CMD ["/home/pi/pialert/dockerfiles/start.sh"]
|
||||
|
||||
Reference in New Issue
Block a user