disable file uploads in PHP
This commit is contained in:
parent
00740f441a
commit
4904526443
|
@ -21,6 +21,8 @@ RUN composer install
|
||||||
# | Install Webserver
|
# | Install Webserver
|
||||||
# |--------------------------------------------------------------------------
|
# |--------------------------------------------------------------------------
|
||||||
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest
|
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest
|
||||||
|
ENV PHP_FILE_UPLOADS=Off
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \
|
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \
|
||||||
rm /etc/nginx/http.d/default.conf
|
rm /etc/nginx/http.d/default.conf
|
||||||
|
|
Loading…
Reference in a new issue