From 4d25c62988a8479e5e1c3d460fd4e56dd8ee8227 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 26 Jul 2022 16:10:53 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE313-BUSYBOX-2953337 - https://snyk.io/vuln/SNYK-ALPINE313-BUSYBOX-2953337 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-2941811 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-2941811 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f1294560946..2c68cc751c0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------------- # BASE IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as base +FROM node:16.14-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.14-alpine as production # Let's make our home WORKDIR /usr/src/docs