diff --git a/scripts/start-business.sh b/scripts/start-business.sh index 5e761de..f89d861 100644 --- a/scripts/start-business.sh +++ b/scripts/start-business.sh @@ -6,6 +6,6 @@ export HUSKY_SKIP_INSTALL=1 export NODE_PATH=/app/node_modules export NODE_ENV=production -# En mode production, utiliser next start au lieu de next dev (évite Fast Refresh) -cd .techradar && npx next start --port "${PORT:-3000}" +# En mode production avec output: export, utiliser serve pour servir les fichiers statiques +cd .techradar && npx serve@latest out --listen "${PORT:-3000}"