Use 0.0.0.0 and respect PORT for preview/start (Coolify)
Verificar despliegue Docker / build (push) Has been cancelled
Verificar despliegue Docker / build (push) Has been cancelled
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user