Merge branch 'jonasled-master-patch-96453' into 'master'

switch to nginx as webserver

See merge request jonasled/website!4
This commit is contained in:
Jonas Leder 2021-11-25 13:21:09 +01:00
commit ebdc7dd6fb

View file

@ -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 .
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache
COPY --from=composer /build/public .