From c0620fca3f1200e726fafc4c99d6f45cabd42321 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 16 Aug 2023 19:38:17 +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-OPENSSL-2426334 - https://snyk.io/vuln/SNYK-ALPINE313-ZLIB-2976175 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 24c1c66a1bf4..98d9dad7e84a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------------- # BASE IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as base +FROM node:16.20.2-alpine as base RUN apk add --no-cache make g++ git @@ -57,7 +57,7 @@ RUN npm run build # MAIN IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as production +FROM node:16.20.2-alpine as production # Let's make our home WORKDIR /usr/src/docs