Use 0.0.0.0 and respect PORT for preview/start (Coolify)
Verificar despliegue Docker / build (push) Has been cancelled

This commit is contained in:
Andres
2026-10-02 11:35:18 -04:00
parent 33353c2e89
commit 30d8f8f114
+3 -3
View File
@@ -4,12 +4,12 @@
"version": "0.0.0",
"private": true,
"scripts": {
"dev": "vite --host :: --port 3000",
"dev": "vite --host 0.0.0.0 --port 3000",
"build": "node tools/generate-llms.js || true && vite build --outDir ../../dist/apps/web",
"preview": "vite preview --host :: --port 3000",
"preview": "vite preview --host 0.0.0.0 --port ${PORT:-3000}",
"lint": "eslint . --quiet; lint_status=$?; eslint \"src/**/*.jsx\" --config eslint.config.mjs --format ./eslint.unicode-escapes-formatter.mjs --no-error-on-unmatched-pattern; exit $lint_status",
"lint:warn": "eslint .",
"start": "vite preview --outDir ../../dist/apps/web --host :: --port 3000"
"start": "vite preview --outDir ../../dist/apps/web --host 0.0.0.0 --port ${PORT:-3000}"
},
"dependencies": {
"@emotion/is-prop-valid": "^1.4.0",