Add PHP-FPM

This commit is contained in:
Ben van Hartingsveldt 2025-06-27 16:38:06 +02:00
parent 3ab034154c
commit 502d270fd1
No known key found for this signature in database
GPG key ID: 261AA214130CE7AB

View file

@ -59,4 +59,4 @@ RUN mv opcache.ini /usr/local/etc/php/conf.d/
VOLUME /var/www/html/storage/framework/cache/data
# Cache project and Start PHP-FPM and NGINX
CMD php artisan optimize; php artisan event:cache; php artisan view:cache; sh -c "php artisan queue:work &"; nginx -g "daemon off;"
CMD php artisan optimize; php artisan event:cache; php artisan view:cache; sh -c "php artisan queue:work &"; php-fpm -D; nginx -g "daemon off;"