bump to php82

This commit is contained in:
Matthias Hemmerich 2023-06-23 13:59:01 +02:00
parent 739f2f77b1
commit 07de0df36f

View file

@ -6,19 +6,20 @@ LABEL Description="Forked from https://github.com/TrafeX/docker-php-nginx, Light
WORKDIR /var/www/html WORKDIR /var/www/html
# Install packages and remove default server definition # Install packages and remove default server definition
RUN apk add --no-cache \ RUN apk update \
&& apk add --no-cache \
curl \ curl \
nginx \ nginx \
php8 \ php82 \
php8-fpm \ php82-fpm \
supervisor supervisor
# Configure nginx # Configure nginx
COPY config/nginx.conf /etc/nginx/nginx.conf COPY config/nginx.conf /etc/nginx/nginx.conf
# Configure PHP-FPM # Configure PHP-FPM
COPY config/fpm-pool.conf /etc/php8/php-fpm.d/www.conf COPY config/fpm-pool.conf /etc/php82/php-fpm.d/www.conf
COPY config/php.ini /etc/php8/conf.d/custom.ini COPY config/php.ini /etc/php82/conf.d/custom.ini
# Configure supervisord # Configure supervisord
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf