using bullseye
This commit is contained in:
@@ -6,18 +6,8 @@ ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && \
|
||||
apt-get -y install \
|
||||
nginx \
|
||||
php-fpm \
|
||||
curl \
|
||||
php-mysql \
|
||||
php-curl \
|
||||
php-gd \
|
||||
unzip \
|
||||
imagemagick \
|
||||
php-json \
|
||||
php-xml \
|
||||
php-mbstring \
|
||||
php-sqlite3 \
|
||||
php-intl
|
||||
unzip
|
||||
# CLeanup
|
||||
RUN apt-get autoremove --purge -y && \
|
||||
apt-get clean -y && \
|
||||
|
||||
@@ -20,7 +20,7 @@ server {
|
||||
index index.php;
|
||||
location ~ \.php {
|
||||
try_files $uri index.php =404;
|
||||
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
|
||||
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME $request_filename;
|
||||
include /etc/nginx/fastcgi_params;
|
||||
|
||||
Reference in New Issue
Block a user