From c3667512e565a3d7ed8618e7b642c04a331340be Mon Sep 17 00:00:00 2001 From: Manuel Date: Fri, 8 May 2026 01:18:07 +0200 Subject: [PATCH] fix: add start script and nixpacks.toml for Dokploy deployment --- nixpacks.toml | 10 ++++++++++ package.json | 1 + 2 files changed, 11 insertions(+) create mode 100644 nixpacks.toml diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..1884afc --- /dev/null +++ b/nixpacks.toml @@ -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" diff --git a/package.json b/package.json index a6fffa7..14031d0 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "scripts": { "dev": "astro dev", "build": "astro build", + "start": "node ./dist/server/entry.mjs", "preview": "astro preview", "check": "astro check" },