From 995720dfe2dca7867bd2f377d77404ed270f99bc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 30 Jan 2022 23:24:09 +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-1569447 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 - https://snyk.io/vuln/SNYK-ALPINE311-OPENSSL-1569451 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9aa13af..4c31fc1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14.17.5-alpine AS BUILD_IMAGE +FROM node:14.18.2-alpine AS BUILD_IMAGE ARG TARGETPLATFORM ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64} @@ -24,7 +24,7 @@ COPY . ./ RUN yarn build # Build the final image -FROM node:14.17.5-alpine +FROM node:14.18.2-alpine # Define some ENV Vars ENV PORT=80 \