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
|
# Pi.Alert
|
||||||
RUN ln -s /home/pi/pialert/front /var/www/html/pialert \
|
RUN ln -s /home/pi/pialert/front /var/www/html/pialert \
|
||||||
&& python /home/pi/pialert/back/pialert.py update_vendors \
|
&& 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 \
|
#&& chgrp -R www-data /home/pi/pialert/db \
|
||||||
&& chmod -R 777 /home/pi/pialert/db
|
#&& chmod -R 755 /home/pi/pialert/db
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
#
|
# https://github.com/rtsp/docker-lighttpd/blob/main/Dockerfile
|
||||||
|
|
||||||
CMD ["/home/pi/pialert/dockerfiles/start.sh"]
|
CMD ["/home/pi/pialert/dockerfiles/start.sh"]
|
||||||
Reference in New Issue
Block a user