disable file uploads in PHP

This commit is contained in:
Jonas Leder 2022-02-25 09:53:20 +01:00
parent 00740f441a
commit 4904526443

View file

@ -21,6 +21,8 @@ RUN composer install
# | Install Webserver
# |--------------------------------------------------------------------------
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest
ENV PHP_FILE_UPLOADS=Off
RUN apk update && \
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \
rm /etc/nginx/http.d/default.conf