Fix nixpacks build: add start script and configure build phase

This commit is contained in:
2026-04-09 08:50:24 -04:00
parent a99a1f32e3
commit 5b44762fbb
2 changed files with 2 additions and 4 deletions

View File

@@ -1,5 +1,2 @@
[phases.build]
cmds = ["npm ci", "npm run build"]
[start]
cmd = "npx serve dist -l 3000 -s"
cmds = ["npm run build"]

View File

@@ -7,6 +7,7 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"start": "npx serve dist -l 3000 -s",
"typecheck": "tsc --noEmit"
},
"devDependencies": {