diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index afbcb164471..7c9911f2ba2 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -40,17 +40,15 @@ ENV APACHE_RUN_USER=www-data \ # Global variables ENV WEBTREES_HOME="/var2/www/webtrees" WORKDIR $WEBTREES_HOME -# hadolint ignore=DL4006, SC2016 +# hadolint ignore=DL4006 RUN \ # Change data location grep -rl "/var/www/webtrees" /etc | xargs sed -i 's|/var/www/webtrees|/var2/www/webtrees|g' \ && sed -i 's|/var/www/webtrees|/var2/www/webtrees|g' /docker-entrypoint.py \ && mkdir -p /var2 \ && cp -rf /var/* /var2/ \ - && chown -R www-data:www-data /var2/www/webtrees \ - # Avoid log spam - && [ -d /etc/apache2/sites-available ] && for file in /etc/apache2/sites-*/*.conf; do sed -i '/