mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
volume?
This commit is contained in:
@@ -18,11 +18,12 @@ COPY . /home/pi/pialert
|
|||||||
RUN rm -r /home/pi/pialert/tar \
|
RUN rm -r /home/pi/pialert/tar \
|
||||||
&& ln -s /home/pi/pialert/front /var/www/html/pialert \
|
&& 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 -
|
||||||
&& chmod -R a+w /home/pi/pialert/db
|
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
EXPOSE 80/tcp
|
||||||
|
|
||||||
|
VOLUME /home/pi/pialert/db
|
||||||
|
|
||||||
# https://github.com/rtsp/docker-lighttpd/blob/main/Dockerfile
|
# https://github.com/rtsp/docker-lighttpd/blob/main/Dockerfile
|
||||||
# Todo, refacto CMD so that we can run lighttpd and make it respond instant
|
# 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
|
# The above Dockerfile is doing this well, but i don't see why it isn't working for us
|
||||||
|
|||||||
Reference in New Issue
Block a user