From 4f06978718b5859553d02fa70f7ee5ce6068d139 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 8 Sep 2024 08:46:56 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-7430900 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-7430905 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7895537 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7895537 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f74301db9c..1570cf871f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ############################################################ # Build stage ############################################################ -FROM node:20.14.0-alpine3.20 AS build +FROM node:20.17.0-alpine3.20 AS build RUN apk --no-cache add git WORKDIR /src @@ -27,7 +27,7 @@ RUN npm run prepare && npm run build ############################################################ # Release stage ############################################################ -FROM node:20.14.0-alpine3.20 AS release +FROM node:20.17.0-alpine3.20 AS release WORKDIR /src # Copy production node_modules