From 5003f57056da1ca1c05fdd40efbe4f6009011c66 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 30 Aug 2025 15:49:51 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-10847885 - https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-10690985 - https://snyk.io/vuln/SNYK-DEBIAN12-GNUTLS28-10690987 - https://snyk.io/vuln/SNYK-DEBIAN12-GCC12-5901316 - https://snyk.io/vuln/SNYK-DEBIAN12-GCC12-5901316 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9996aa3..0862af1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ---------- builder stage ---------- -FROM node:22.15.1-bookworm-slim AS builder +FROM node:22.19.0-bookworm-slim AS builder # make a directory inside the container WORKDIR /app @@ -18,7 +18,7 @@ RUN pnpm add -D typescript tsc-alias COPY . . RUN pnpm build # ---------- runner stage ---------- -FROM node:22.15.1-bookworm-slim AS runner +FROM node:22.19.0-bookworm-slim AS runner WORKDIR /app ENV NODE_ENV=production