Update Dockerfile

This commit is contained in:
Alexandre
2021-04-07 12:16:48 +02:00
committed by GitHub
parent 51f153b50a
commit ab2d97fc8c

View File

@@ -45,10 +45,10 @@ 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
&& sed -i '$d' /etc/crontabs/root \
# analyse local devices at reboot
# && sed -i '$d' /etc/crontabs/root \
&& sed -i -e '$a @reboot /run.sh' /etc/crontabs/root \
# correct url paths
# correct url paths
&& grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g'
VOLUME [ "/data" ]