From e5ab209250850fbcb909a190c109f75e70dbbb01 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 18 Dec 2022 05:09:46 +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..ea8ffea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ########### Stage 1 ########### -FROM node:14.16.1-alpine as builder +FROM node:14.21.2-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.2-alpine LABEL maintainer="vs4vijay@gmail.com" WORKDIR /app