From ba95aad3c666dce36f87855ac8aedf3c1dbc7257 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 22 Sep 2025 19:03:33 +0200 Subject: [PATCH] Switch backend image to Node 20 to address cross-spawn CVE --- backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 9f81c4a..ed9df39 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder # Add build arguments ARG CACHEBUST=1 @@ -23,7 +23,7 @@ RUN npm ci --only=production COPY . . # Production stage -FROM node:18-alpine +FROM node:20-alpine WORKDIR /app