Update Dockerfile

This commit is contained in:
Alexandre
2021-04-07 10:48:41 +02:00
committed by GitHub
parent 75a3deb901
commit a857655ac7

View File

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