Add PHP_INI_DIR to make it easier for future PHP updates

This commit is contained in:
Tim de Pater
2023-08-27 11:54:59 +02:00
parent bb5751abec
commit 7fb96f7ee7

View File

@@ -32,8 +32,9 @@ COPY config/nginx.conf /etc/nginx/nginx.conf
COPY config/conf.d /etc/nginx/conf.d/ COPY config/conf.d /etc/nginx/conf.d/
# Configure PHP-FPM # Configure PHP-FPM
COPY config/fpm-pool.conf /etc/php82/php-fpm.d/www.conf ENV PHP_INI_DIR /etc/php82
COPY config/php.ini /etc/php82/conf.d/custom.ini 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 # Configure supervisord
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf