浏览代码

docker: update horizon command for laravel 7.x

Alexandra Dunn 5 年之前
父节点
当前提交
db271b42e3
共有 2 个文件被更改,包括 4 次插入4 次删除
  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