From d28594a97c573049f1d4ea821644dbb3c4593c4a Mon Sep 17 00:00:00 2001 From: streaper2 Date: Mon, 2 Mar 2026 15:14:01 +0100 Subject: [PATCH] Remove Nixpacks start command and add Prisma module cleanup to the `package.json` start script. --- nixpacks.toml | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/nixpacks.toml b/nixpacks.toml index 6742ac9..c73f6a1 100644 --- a/nixpacks.toml +++ b/nixpacks.toml @@ -8,6 +8,3 @@ cmds = [ [phases.setup] nixPkgs = ["nodejs_22", "npm-9_x", "openssl"] - -[start] -cmd = "node .next/standalone/server.js" diff --git a/package.json b/package.json index d4defdf..1e47f5e 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "scripts": { "dev": "next dev", "build": "npx prisma generate && cross-env NEXT_TELEMETRY_DISABLED=1 next build", - "start": "npx prisma generate && npx prisma db push && node .next/standalone/server.js", + "start": "npx prisma generate && npx prisma db push && rm -rf .next/standalone/node_modules/@prisma .next/standalone/node_modules/.prisma && node .next/standalone/server.js", "lint": "next lint" }, "dependencies": {