mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
tidy up and final test
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user