Add PHP-FPM
This commit is contained in:
parent
3ab034154c
commit
502d270fd1
1 changed files with 1 additions and 1 deletions
|
@ -59,4 +59,4 @@ RUN mv opcache.ini /usr/local/etc/php/conf.d/
|
||||||
VOLUME /var/www/html/storage/framework/cache/data
|
VOLUME /var/www/html/storage/framework/cache/data
|
||||||
|
|
||||||
# Cache project and Start PHP-FPM and NGINX
|
# 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;"
|
||||||
|
|
Loading…
Add table
Reference in a new issue