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]
|
[phases.setup]
|
||||||
nixPkgs = ["nodejs_22", "npm-9_x", "openssl"]
|
nixPkgs = ["nodejs_22", "npm-9_x", "openssl"]
|
||||||
|
|
||||||
[start]
|
|
||||||
cmd = "node .next/standalone/server.js"
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "npx prisma generate && cross-env NEXT_TELEMETRY_DISABLED=1 next build",
|
"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"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user