using bullseye

This commit is contained in:
2022-03-14 16:41:24 +01:00
parent 84acbf3c2c
commit d860eee58e
2 changed files with 2 additions and 12 deletions

View File

@@ -6,18 +6,8 @@ ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \ RUN apt-get update && \
apt-get -y install \ apt-get -y install \
nginx \ nginx \
php-fpm \
curl \ curl \
php-mysql \ unzip
php-curl \
php-gd \
unzip \
imagemagick \
php-json \
php-xml \
php-mbstring \
php-sqlite3 \
php-intl
# CLeanup # CLeanup
RUN apt-get autoremove --purge -y && \ RUN apt-get autoremove --purge -y && \
apt-get clean -y && \ apt-get clean -y && \

View File

@@ -20,7 +20,7 @@ server {
index index.php; index index.php;
location ~ \.php { location ~ \.php {
try_files $uri index.php =404; 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_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;
include /etc/nginx/fastcgi_params; include /etc/nginx/fastcgi_params;