Add opcache and clean up default site conf

This commit is contained in:
aptalca
2024-03-07 09:17:32 -05:00
parent 3d0d91cad8
commit 723df80461
4 changed files with 19 additions and 4 deletions

View File

@@ -17,15 +17,19 @@ RUN \
apk add --no-cache \
php83-dom \
php83-intl \
php83-opcache \
php83-pdo_mysql \
php83-pdo_pgsql \
php83-pdo_sqlite \
php83-pdo_mysql \
php83-tokenizer && \
echo "**** configure nginx ****" && \
echo 'fastcgi_param PHP_AUTH_USER $remote_user; # Heimdall user authorization' >> \
/etc/nginx/fastcgi_params && \
echo 'fastcgi_param PHP_AUTH_PW $http_authorization; # Heimdall user authorization' >> \
/etc/nginx/fastcgi_params && \
echo "**** configure php opcache ****" && \
echo 'opcache.validate_timestamps=0' >> \
/etc/php83/conf.d/00_opcache.ini && \
echo "**** install heimdall ****" && \
mkdir -p \
/heimdall && \