移除 supervisord 的 npm program 區塊,修復正式機容器啟動權限錯誤
Some checks failed
Koori-ERP-Deploy-System / deploy-demo (push) Has been skipped
Koori-ERP-Deploy-System / deploy-production (push) Failing after 23s

This commit is contained in:
2026-02-23 14:58:22 +08:00
parent e02d7c7125
commit 1acbfb7246

View File

@@ -13,15 +13,3 @@ stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:npm]
command=/bin/sh -c "if [ \"${APP_ENV}\" = \"local\" ] || [ \"${APP_ENV}\" = \"testing\" ]; then exec /usr/bin/npm run dev; else sleep infinity; fi"
user=%(ENV_SUPERVISOR_PHP_USER)s
environment=LARAVEL_SAIL="1"
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true