From 09957cb1132da82c55e656ebdd185d646d95298c Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Sun, 16 Apr 2023 20:18:15 +0200 Subject: [PATCH] Increase heap size for website (#2622) --- docker/Dockerfile.website | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile.website b/docker/Dockerfile.website index cab86633c9..af6192dcf9 100644 --- a/docker/Dockerfile.website +++ b/docker/Dockerfile.website @@ -46,5 +46,7 @@ USER nextjs EXPOSE 3000 ENV PORT 3000 +# allow the heap to grow larger than the default +ENV NODE_OPTIONS "--max-old-space-size=4096" CMD ["node", "server.js"]