mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-04-21 16:18:59 +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/
|
||||
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user