fix: add start script and nixpacks.toml for Dokploy deployment
This commit is contained in:
@@ -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"
|
||||||
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user