mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-04-22 00:29:10 +08:00
Add PHP_INI_DIR to make it easier for future PHP updates
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user