From 6cbf280e969053e5c881d2a17464ce82c462b15e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 11 Nov 2024 06:27:12 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE313-APKTOOLS-1533754 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448 - https://snyk.io/vuln/SNYK-ALPINE313-ZLIB-2976175 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-2426334 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c360b4e2abd3..3990cc7091c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------------- # BASE IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as base +FROM node:16.19.0-alpine as base RUN apk add --no-cache make g++ git @@ -58,7 +58,7 @@ RUN npm run build # MAIN IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as production +FROM node:16.19.0-alpine as production # Let's make our home WORKDIR /usr/src/docs