mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
ensure /pialerd path backwards compatibility
This commit is contained in:
@@ -15,7 +15,6 @@ RUN apt-get update \
|
|||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& rm -rf /var/www/html \
|
&& rm -rf /var/www/html \
|
||||||
&& ln -s /home/pi/pialert/front /var/www/html \
|
&& ln -s /home/pi/pialert/front /var/www/html \
|
||||||
&& ln -s /home/pi/pialert/front /var/www/html/pialert \
|
|
||||||
&& lighttpd-enable-mod fastcgi-php
|
&& lighttpd-enable-mod fastcgi-php
|
||||||
|
|
||||||
|
|
||||||
@@ -38,4 +37,7 @@ RUN python /home/pi/pialert/back/pialert.py update_vendors \
|
|||||||
# it's easy for permissions set in Git to be overridden, so doing it manually
|
# it's easy for permissions set in Git to be overridden, so doing it manually
|
||||||
RUN chmod -R a+rxw /home/pi/pialert/
|
RUN chmod -R a+rxw /home/pi/pialert/
|
||||||
|
|
||||||
|
# keep backward-compatibility with old links using <url>/pialert as a base (remove in 2023)
|
||||||
|
RUN ln -s /home/pi/pialert/front /var/www/html/pialert
|
||||||
|
|
||||||
CMD ["/home/pi/pialert/dockerfiles/start.sh"]
|
CMD ["/home/pi/pialert/dockerfiles/start.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user