diff --git a/supervisord.conf b/supervisord.conf index 4566751..7a299c8 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -26,7 +26,7 @@ autostart=true startsecs=3 [program:frontend] -command=npm run start +command=bash -c "sleep 5 && npm run start" directory=/app/frontend environment=NODE_ENV="production",PORT="8502" stdout_logfile=/dev/stdout diff --git a/supervisord.single.conf b/supervisord.single.conf index b9fda4e..5e91908 100644 --- a/supervisord.single.conf +++ b/supervisord.single.conf @@ -38,7 +38,7 @@ autostart=true startsecs=3 [program:frontend] -command=npm run start +command=bash -c "sleep 5 && npm run start" directory=/app/frontend environment=NODE_ENV="production",PORT="8502" stdout_logfile=/dev/stdout