From 1c306f323dc26a206257893ee4ba9da6a1640f5c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 12 Aug 2023 21:55:31 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3105822 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326683 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326688 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3329555 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5741793 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 292998cd46e6..2b58706efddb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------------- # BASE IMAGE # -------------------------------------------------------------------------------- -FROM node:16.17.1-alpine as base +FROM node:16.20.1-alpine as base RUN apk add --no-cache make g++ git @@ -54,7 +54,7 @@ RUN npm run build # MAIN IMAGE # -------------------------------------------------------------------------------- -FROM node:16.17.1-alpine as production +FROM node:16.20.1-alpine as production # Let's make our home WORKDIR /usr/src/docs