mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-14 06:01:34 -07:00
added lighttpd-enable-mod fastcgi-php to fix the permission
This commit is contained in:
@@ -8,14 +8,14 @@ RUN apt-get update \
|
|||||||
&& apt-get clean autoclean \
|
&& apt-get clean autoclean \
|
||||||
&& apt-get autoremove \
|
&& apt-get autoremove \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& ln -s /home/pi/pialert/install/index.html /var/www/html/index.html
|
&& ln -s /home/pi/pialert/install/index.html /var/www/html/index.html
|
||||||
# Redirect for lighthttpd to work properly
|
# Redirect for lighthttpd to work properly
|
||||||
|
|
||||||
COPY . /home/pi/pialert
|
COPY . /home/pi/pialert
|
||||||
|
|
||||||
# delete .git/ files and the tar/ realese directory to make the image smaller
|
# delete .git/ files and the tar/ realese directory to make the image smaller
|
||||||
#RUN rm -r /home/pi/pialert/.git \
|
#RUN rm -r /home/pi/pialert/.git \
|
||||||
RUN rm -r /home/pi/pialert/tar
|
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 \
|
||||||
|
|||||||
Reference in New Issue
Block a user