Skip to content
Snippets Groups Projects
Commit fe0d0a7a authored by Jonas Leder's avatar Jonas Leder
Browse files

switch to nginx as webserver

parent 1a6da267
Branches
Tags
1 merge request!4switch to nginx as webserver
Pipeline #1709 passed
...@@ -20,8 +20,7 @@ RUN composer install ...@@ -20,8 +20,7 @@ RUN composer install
# |-------------------------------------------------------------------------- # |--------------------------------------------------------------------------
# | Install Webserver # | Install Webserver
# |-------------------------------------------------------------------------- # |--------------------------------------------------------------------------
FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:latest
RUN apk update && \ RUN apk update && \
apk add php8-mysqli php8-mbstring php8-curl curl php8-simplexml --no-cache && \ apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache
echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf.d/remoteip.conf
COPY --from=composer /build/public . COPY --from=composer /build/public .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment