From fe0d0a7ada0edd5d338f063217a005de029ba0da Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Thu, 25 Nov 2021 13:13:35 +0100 Subject: [PATCH] switch to nginx as webserver --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index abaadb5..c7a5b87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,8 +20,7 @@ RUN composer install # |-------------------------------------------------------------------------- # | Install Webserver # |-------------------------------------------------------------------------- -FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest +FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:latest RUN apk update && \ - apk add php8-mysqli php8-mbstring php8-curl curl php8-simplexml --no-cache && \ - echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf.d/remoteip.conf -COPY --from=composer /build/public . \ No newline at end of file + apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache +COPY --from=composer /build/public .