From 60c0a50b0b1b90dacc9fae02330d55f78662075b Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 16 Jun 2023 23:21:42 +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-BUSYBOX-1920735 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448 - https://snyk.io/vuln/SNYK-ALPINE313-OPENSSL-1569448 - https://snyk.io/vuln/SNYK-ALPINE313-ZLIB-2976175 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c23095bf3f38..996bbb83025c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------------- # BASE IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as base +FROM node:16-alpine as base RUN apk add --no-cache make g++ git @@ -56,7 +56,7 @@ RUN npm run build # MAIN IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as production +FROM node:16-alpine as production # Let's make our home WORKDIR /usr/src/docs