mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Revert dockerfile changes
This commit is contained in:
@@ -28,12 +28,9 @@ RUN groupadd --gid "${USER_GID}" "${USER}" && \
|
||||
|
||||
COPY . /home/pi/pialert
|
||||
|
||||
RUN chmod -R a+rxw /home/pi/pialert/
|
||||
|
||||
# Pi.Alert
|
||||
RUN python /home/pi/pialert/back/pialert.py update_vendors \
|
||||
&& sed -ie 's/= 80/= '${PORT}'/g' /etc/lighttpd/lighttpd.conf \
|
||||
&& sed "s+TIMEZONE.*+TIMEZONE = '"${TZ}"'+" /home/pi/pialert/config/pialert.conf \
|
||||
&& (crontab -l 2>/dev/null; cat /home/pi/pialert/install/pialert.cron) | crontab -
|
||||
|
||||
# it's easy for permissions set in Git to be overridden, so doing it manually
|
||||
|
||||
Reference in New Issue
Block a user