Remove Nixpacks start command and add Prisma module cleanup to the package.json start script.
This commit is contained in:
@@ -8,6 +8,3 @@ cmds = [
|
||||
|
||||
[phases.setup]
|
||||
nixPkgs = ["nodejs_22", "npm-9_x", "openssl"]
|
||||
|
||||
[start]
|
||||
cmd = "node .next/standalone/server.js"
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user