Update Dockerfile

This commit is contained in:
Alexandre
2022-01-09 16:58:47 +01:00
committed by GitHub
parent 708e8ed613
commit 00ae350a21

View File

@@ -32,7 +32,8 @@ RUN \
&& sed -i 's| /config| /data|g' /etc/logrotate.d/scrutiny \
&& sed -i 's| /config| /data|g' /etc/crontabs/root \
# correct url paths
&& grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g'
&& grep -rl '/web/' /app/scrutiny-web/ | xargs sed -i 's|/web/|./|g' \
&& if [ -f /run.sh ]; then chmod 777 /run.sh; fi
##################
# 3 Install apps #