give nextjs more memory in prod
This commit is contained in:
parent
651053fd71
commit
f8d88d18f8
|
@ -6,7 +6,7 @@
|
||||||
"dev": "NODE_OPTIONS='--trace-warnings' next dev",
|
"dev": "NODE_OPTIONS='--trace-warnings' next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"migrate": "prisma migrate deploy",
|
"migrate": "prisma migrate deploy",
|
||||||
"start": "NODE_OPTIONS='--trace-warnings' next start -p $PORT --keepAliveTimeout 120000",
|
"start": "NODE_OPTIONS='--trace-warnings --max-old-space-size=6144' next start -p $PORT --keepAliveTimeout 120000",
|
||||||
"lint": "standard",
|
"lint": "standard",
|
||||||
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
|
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
|
||||||
"worker": "tsx --tsconfig jsconfig.json --trace-warnings worker/index.js",
|
"worker": "tsx --tsconfig jsconfig.json --trace-warnings worker/index.js",
|
||||||
|
|
Loading…
Reference in New Issue