From 3fdea9beedd1c17081a637d47db215f920333c30 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 17 Nov 2024 06:09:49 +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-ZLIB-2976175 - https://snyk.io/vuln/SNYK-ALPINE313-BUSYBOX-1920735 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 26217363aca5..b5b39dfc2bb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ # -------------------------------------------------------------------------------- # BASE IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as base +FROM node:16.20.1-alpine as base RUN apk add --no-cache make g++ git @@ -61,7 +61,7 @@ RUN npm run build # MAIN IMAGE # -------------------------------------------------------------------------------- -FROM node:16.2.0-alpine as production +FROM node:16.20.1-alpine as production # Let's make our home WORKDIR /usr/src/docs