From 36676b09acbff9db845e4b9d6548ead00c4c895a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 24 Mar 2026 09:17:23 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE323-ZLIB-15435528 - https://snyk.io/vuln/SNYK-ALPINE323-ZLIB-15435529 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ca42d86..7897bda 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ # ============================================ # Stage 1: Dependencies # ============================================ -FROM node:20-alpine AS deps +FROM node:24.0.0-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app @@ -23,7 +23,7 @@ RUN npx prisma generate # ============================================ # Stage 2: Builder # ============================================ -FROM node:20-alpine AS builder +FROM node:24.0.0-alpine AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules @@ -42,7 +42,7 @@ RUN npm run build # ============================================ # Stage 3: Runner (Production) # ============================================ -FROM node:20-alpine AS runner +FROM node:24.0.0-alpine AS runner RUN apk add --no-cache openssl WORKDIR /app