From c75f5a190e8fb827531478279180642806c6d772 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 14 Nov 2024 05:32:32 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-ZLIB-2976173 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035795 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326683 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5741793 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5843454 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 78aa1f5db972..9341680730c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------------- # BASE IMAGE # -------------------------------------------------------------------------------- -FROM node:16.14-alpine as base +FROM node:16.20.1-alpine as base RUN apk add --no-cache make g++ git @@ -56,7 +56,7 @@ RUN npm run build # MAIN IMAGE # -------------------------------------------------------------------------------- -FROM node:16.14-alpine as production +FROM node:16.20.1-alpine as production # Let's make our home WORKDIR /usr/src/docs