From 0cedb9d89d939b5849b3c3626ef9ff8d74ceef15 Mon Sep 17 00:00:00 2001 From: matti Date: Fri, 28 Mar 2025 16:39:46 +0100 Subject: [PATCH] update to php83 and alpine 3.20 --- Dockerfile | 13 +++++++------ config/supervisord.conf | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4c21bbe..930cb66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ && \ diff --git a/config/supervisord.conf b/config/supervisord.conf index 46fce3f..c735936 100644 --- a/config/supervisord.conf +++ b/config/supervisord.conf @@ -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