File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 1- ARG ALPINE_VERSION=3.21
1+ ARG ALPINE_VERSION=3.23
22FROM alpine:${ALPINE_VERSION}
33LABEL Maintainer=
"Tim de Pater <[email protected] >" 4- LABEL Description="Lightweight container with Nginx 1.26 & PHP 8.4 based on Alpine Linux."
4+ LABEL Description="Lightweight container with Nginx 1.28 & PHP 8.4 based on Alpine Linux."
55# Setup document root
66WORKDIR /var/www/html
77
@@ -29,15 +29,13 @@ RUN apk add --no-cache \
2929 php84-xmlwriter \
3030 supervisor
3131
32- RUN ln -s /usr/bin/php84 /usr/bin/php
33-
3432# Configure nginx - http
3533COPY config/nginx.conf /etc/nginx/nginx.conf
3634# Configure nginx - default server
3735COPY config/conf.d /etc/nginx/conf.d/
3836
3937# Configure PHP-FPM
40- ENV PHP_INI_DIR /etc/php84
38+ ENV PHP_INI_DIR= /etc/php84
4139COPY config/fpm-pool.conf ${PHP_INI_DIR}/php-fpm.d/www.conf
4240COPY config/php.ini ${PHP_INI_DIR}/conf.d/custom.ini
4341
Original file line number Diff line number Diff line change 1- # Docker PHP-FPM 8.4 & Nginx 1.26 on Alpine Linux
2- Example PHP-FPM 8.4 & Nginx 1.26 container image for Docker, built on [ Alpine Linux] ( https://www.alpinelinux.org/ ) .
1+ # Docker PHP-FPM 8.4 & Nginx 1.28 on Alpine Linux
2+ Example PHP-FPM 8.4 & Nginx 1.28 container image for Docker, built on [ Alpine Linux] ( https://www.alpinelinux.org/ ) .
33
44Repository: https://github.com/TrafeX/docker-php-nginx
55
@@ -15,7 +15,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx
1515* Follows the KISS principle (Keep It Simple, Stupid) to make it easy to understand and adjust the image to your needs
1616
1717[ ![ Docker Pulls] ( https://img.shields.io/docker/pulls/trafex/php-nginx.svg )] ( https://hub.docker.com/r/trafex/php-nginx/ )
18- ![ nginx 1.26 ] ( https://img.shields.io/badge/nginx-1.26 -brightgreen.svg )
18+ ![ nginx 1.28 ] ( https://img.shields.io/badge/nginx-1.28 -brightgreen.svg )
1919![ php 8.4] ( https://img.shields.io/badge/php-8.4-brightgreen.svg )
2020![ License MIT] ( https://img.shields.io/badge/license-MIT-blue.svg )
2121
You can’t perform that action at this time.
0 commit comments