From 2732ccbc70c4795ee6a6fb75596e73db589c9491 Mon Sep 17 00:00:00 2001 From: IiroP Date: Fri, 6 Feb 2026 11:40:24 +0200 Subject: [PATCH] fix: downgrade to node 22 due to memory leak - The production version is leaking memory (usage grows from 300mb to over 2gb) - Downgrading to node 22 fixed similar issue in juvusivu --- Dockerfile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 47357d41..d09c3906 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Base image with Node.js -ARG NODE_VERSION=24.3.0 +ARG NODE_VERSION=22.22.0 # Use a specific version of the Node.js Alpine image as the base. Alpine images are minimal and lightweight. FROM node:${NODE_VERSION}-alpine AS base # Update the package list and install libc6-compat. This package is often required for binary Node.js modules. diff --git a/package.json b/package.json index 6405aeca..717bba87 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "packageManager": "pnpm@10.16.1", "engines": { - "node": "24.5.0" + "node": "22.22.0" }, "pnpm": { "onlyBuiltDependencies": [