diff --git a/Dockerfile b/Dockerfile index 42b736c..bd52ce3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,8 +32,9 @@ COPY config/nginx.conf /etc/nginx/nginx.conf COPY config/conf.d /etc/nginx/conf.d/ # 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 +ENV PHP_INI_DIR /etc/php82 +COPY config/fpm-pool.conf ${PHP_INI_DIR}/php-fpm.d/www.conf +COPY config/php.ini ${PHP_INI_DIR}/conf.d/custom.ini # Configure supervisord COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf