From 1f96a32ea8fc582b0834893a4290fc4ce83f22da Mon Sep 17 00:00:00 2001 From: Elijah Duffy Date: Mon, 8 Dec 2025 02:30:56 -0800 Subject: [PATCH] php-fpm: fix dockerfile not copying www.conf --- php-fpm/7.4/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-fpm/7.4/Dockerfile b/php-fpm/7.4/Dockerfile index ec3fc7e..19f491e 100644 --- a/php-fpm/7.4/Dockerfile +++ b/php-fpm/7.4/Dockerfile @@ -2,6 +2,7 @@ ARG BASE_VERSION=7.4 ARG BASE_TAG=${BASE_VERSION}-fpm-alpine3.16 FROM php:${BASE_TAG} +ARG BASE_VERSION # Install build dependencies, PHP extensions, and runtime dependencies in a single layer RUN set -eux; \ @@ -96,8 +97,10 @@ RUN set -eux; \ echo 'error_log = /proc/self/fd/2'; \ } > /usr/local/etc/php/conf.d/zz-hardening.ini -# Copy pool configuration and entrypoint from shared path in repo root +# Copy pool configuration from this directory COPY --chown=app:app php-fpm/${BASE_VERSION}/www.conf /usr/local/etc/php-fpm.d/www.conf + +# Copy entrypoint from shared path in repo root COPY --chown=root:root shared/php-fpm/entrypoint.sh /usr/local/bin/entrypoint.sh RUN chmod 755 /usr/local/bin/entrypoint.sh