Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7fb96f7

Browse files
committed
Add PHP_INI_DIR to make it easier for future PHP updates
1 parent bb5751a commit 7fb96f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ COPY config/nginx.conf /etc/nginx/nginx.conf
3232
COPY config/conf.d /etc/nginx/conf.d/
3333

3434
# Configure PHP-FPM
35-
COPY config/fpm-pool.conf /etc/php82/php-fpm.d/www.conf
36-
COPY config/php.ini /etc/php82/conf.d/custom.ini
35+
ENV PHP_INI_DIR /etc/php82
36+
COPY config/fpm-pool.conf ${PHP_INI_DIR}/php-fpm.d/www.conf
37+
COPY config/php.ini ${PHP_INI_DIR}/conf.d/custom.ini
3738

3839
# Configure supervisord
3940
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /