fix(deploy): add start script and nixpacks.toml for production serving with sirv

This commit is contained in:
2026-10-23 22:34:40 -04:00
parent 270b402ccc
commit 95b6465244
3 changed files with 155 additions and 2 deletions

View File

@@ -6,7 +6,8 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"start": "sirv dist --single --host 0.0.0.0 --port ${PORT:-3000}"
},
"keywords": [],
"author": "",
@@ -16,6 +17,7 @@
"vite": "^8.3.5"
},
"dependencies": {
"sirv-cli": "^3.0.1",
"wordlist-english": "^1.2.1"
}
}
}