Skip to content

Commit d9acef3

Browse files
committed
feat(web): use production optimized php.ini
1 parent 65a286b commit d9acef3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

target/web/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ RUN curl -sSLf \
1717
pdo_mysql \
1818
redis \
1919
zip && \
20-
rm /usr/local/bin/install-php-extensions
20+
rm /usr/local/bin/install-php-extensions && \
21+
cp /usr/local/etc/php/php.ini-production /usr/local/etc/php/php.ini
2122

2223
RUN apk add --no-cache \
2324
nginx \
@@ -47,7 +48,6 @@ ENV MYSQL_HOST=db \
4748
TRUSTED_PROXIES=172.16.0.0/12 \
4849
DOCTRINE_DEPRECATIONS=track \
4950
WAITSTART_TIMEOUT=1m \
50-
ADMIN_VER=${ADMIN_VER} \
5151
DATABASE_URL="mysql://%env(MYSQL_USER)%:%env(MYSQL_PASSWORD)%@%env(MYSQL_HOST)%:%env(MYSQL_PORT)%/%env(MYSQL_DATABASE)%?serverVersion=8.4" \
5252
COMPOSER_ALLOW_SUPERUSER=1 \
5353
PHP_SESSION_SAVE_HANDLER=redis

0 commit comments

Comments
 (0)