fix: add start script and nixpacks.toml for Dokploy deployment

This commit is contained in:
Manuel
2026-05-08 01:18:07 +02:00
parent 6c3f4a92e4
commit c3667512e5
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
[variables]
NODE_ENV = "production"
HOST = "0.0.0.0"
PORT = "4321"
[phases.setup]
nixPkgs = ["nodejs_20"]
[start]
cmd = "node ./dist/server/entry.mjs"
+1
View File
@@ -6,6 +6,7 @@
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"build": "astro build", "build": "astro build",
"start": "node ./dist/server/entry.mjs",
"preview": "astro preview", "preview": "astro preview",
"check": "astro check" "check": "astro check"
}, },