Default docker container uses php-fpm and preloading now

This gives us a approx. 12% performance boost
This commit is contained in:
Jan Böhmer 2023-03-04 20:25:48 +01:00
parent 9ed1e896cb
commit e808964913
2 changed files with 12 additions and 6 deletions

View file

@ -39,6 +39,9 @@ if [ -d /var/www/html/var/db ]; then
fi
fi
# Start PHP-FPM
service php8.1-fpm start
# first arg is `-f` or `--some-option` (taken from https://github.com/docker-library/php/blob/master/8.2/bullseye/apache/docker-php-entrypoint)
if [ "${1#-}" != "$1" ]; then
set -- apache2-foreground "$@"