Parcourir la source

docker: update horizon command for laravel 7.x

Alexandra Dunn il y a 5 ans
Parent
commit
db271b42e3
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      contrib/docker/start.apache.sh
  2. 2 2
      contrib/docker/start.fpm.sh

+ 2 - 2
contrib/docker/start.apache.sh

@@ -6,10 +6,10 @@ chown -R www-data:www-data storage/ bootstrap/
 
 # Refresh the environment
 php artisan storage:link
-php artisan horizon:assets
+php artisan horizon:publish
 php artisan route:cache
 php artisan view:cache
 php artisan config:cache
 
 # Finally run Apache
-exec apache2-foreground
+apache2-foreground

+ 2 - 2
contrib/docker/start.fpm.sh

@@ -6,10 +6,10 @@ chown -R www-data:www-data storage/ bootstrap/
 
 # Refresh the environment
 php artisan storage:link
-php artisan horizon:assets
+php artisan horizon:publish
 php artisan route:cache
 php artisan view:cache
 php artisan config:cache
 
 # Finally run FPM
-exec php-fpm
+php-fpm