From e10197d7e0af49d0d5784ddc5735d3c0dbcf2a05 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 16 Dec 2022 06:15:31 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE311-APKTOOLS-1534687 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569447 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 - https://snyk.io/vuln/SNYK-ALPINE311-ZLIB-2977081 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a8731a..3723a46 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ########### Stage 1 ########### -FROM node:14.16.1-alpine as builder +FROM node:14.21-alpine as builder # Update image RUN apk update @@ -24,7 +24,7 @@ COPY src /app/src RUN npm run build ########### Stage 2 ########### -FROM node:14.16.1-alpine +FROM node:14.21-alpine LABEL maintainer="vs4vijay@gmail.com" WORKDIR /app