From f626eb245d0a547dc6b58fddc452dbb488aff9e2 Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Fri, 3 May 2024 14:37:53 +0200 Subject: [PATCH] Correction of webserver directories. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b899af7..0b3fa17 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,8 @@ FROM cs-git.ddnss.de/docker/php-apache-8-3:latest WORKDIR /var/www/html COPY . . -RUN sed -ri -e 's!/var/www/!/var/www/html/public/!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf -RUN sed -ri -e 's!AllowOverride None!AllowOverride All!g' /etc/apache2/apache2.conf +RUN sed -ri -e 's!/var/www/html!/var/www/html/public!g' /etc/apache2/sites-available/*.conf +RUN sed -ri -e 's!/var/www/!/var/www/html/public!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"