Update Dockerfile

This commit is contained in:
Alexandre
2021-04-07 18:00:22 +02:00
committed by GitHub
parent 0bccd76ce8
commit e31727cc59

View File

@@ -47,7 +47,8 @@ RUN \
&& sed -i 's| /config| /data|g' /etc/crontabs/root \
# analyse local devices at reboot
# && sed -i '$d' /etc/crontabs/root \
&& sed -i -e '$a @reboot /run.sh' /etc/crontabs/root \
&& sed -i -e '$a @reboot /run.sh' /etc/crontabs/root \
&& sed -i -e '$a 0 * * * * /run.sh' /etc/crontabs/root \
# correct url paths
&& grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g'