From c6d66f6a7a2dded4789b5df13d29426f78687f7c Mon Sep 17 00:00:00 2001 From: Madjo Diapena Date: Fri, 17 Jul 2026 19:11:38 -0400 Subject: [PATCH] fix: remove explicit Node heap cap from backend Dockerfile (#411) Let Node.js use its default heap sizing within the pod memory limit so we can validate behaviour on dev and test before prod. --- backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 12b3e5af..f961a95d 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -28,7 +28,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf HEALTHCHECK --interval=30s --timeout=3s CMD curl -f http://localhost:3000/health/live || exit 1 -# Nonroot user, limit heap size to 128 MB +# Nonroot user RUN chown -R 1001:0 /app && chmod -R g=u /app USER 1001 -CMD ["node", "--max-old-space-size=128", "dist/api/main"] +CMD ["node", "dist/api/main"]