update to php83 and alpine 3.20

This commit is contained in:
Matthias Hemmerich 2025-03-28 16:39:46 +01:00
parent 817ed574ef
commit 0cedb9d89d
2 changed files with 8 additions and 7 deletions

View file

@ -1,7 +1,8 @@
ARG ALPINE_VERSION=3.18
ARG ALPINE_VERSION=3.20
FROM alpine:${ALPINE_VERSION}
LABEL Maintainer="Matthias Hemmerich matthias+code@mailbro.de"
LABEL Description="Forked from https://github.com/TrafeX/docker-php-nginx, Lightweight container with Nginx 1.20 & PHP 8.0 based on Alpine Linux."
LABEL Description="Forked from https://github.com/TrafeX/docker-php-nginx, Lightweight container with Nginx & PHP based on Alpine Linux."
# Setup document root
WORKDIR /var/www/html
@ -11,16 +12,16 @@ RUN apk update \
&& apk add --no-cache \
curl \
nginx \
php82 \
php82-fpm \
php83 \
php83-fpm \
supervisor
# Configure nginx
COPY config/nginx.conf /etc/nginx/nginx.conf
# Configure PHP-FPM
COPY config/fpm-pool.conf /etc/php82/php-fpm.d/www.conf
COPY config/php.ini /etc/php82/conf.d/custom.ini
COPY config/fpm-pool.conf /etc/php83/php-fpm.d/www.conf
COPY config/php.ini /etc/php83/conf.d/custom.ini
RUN mkdir /etc/supervisor.d \
&& \

View file

@ -5,7 +5,7 @@ logfile_maxbytes=0
pidfile=/run/supervisord.pid
[program:php-fpm]
command=php-fpm82 -F
command=php-fpm83 -F
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr