From 1c55f85817b7e997a2596c03069f661ebd662cdf Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 1 Sep 2025 06:02:52 +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-UPSTREAM-NODE-10847886 - https://snyk.io/vuln/SNYK-ALPINE322-OPENSSL-10597997 - https://snyk.io/vuln/SNYK-ALPINE322-OPENSSL-10597997 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6b23f28..b5431ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:24.1.0-alpine AS builder +FROM node:24.7.0-alpine AS builder RUN apk add --no-cache libc6-compat RUN npm i -g pnpm@8.2.0 @@ -12,7 +12,7 @@ RUN pnpm install COPY . . RUN npm run build -FROM node:24.1.0-alpine +FROM node:24.7.0-alpine RUN apk add --no-cache libc6-compat RUN npm i -g pnpm@8.2.0 WORKDIR /app