From 2a66850da0489893c736d560e94f7aa2e19be278 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 23 Feb 2023 09:03:11 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3035795 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3105822 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326666 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326668 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326688 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 57186aea..a17c8efb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.13.2-alpine AS BUILD_IMAGE +FROM node:16.19.1-alpine AS BUILD_IMAGE # Set the platform to build image for ARG TARGETPLATFORM @@ -25,7 +25,7 @@ COPY . ./ RUN yarn build --mode production # Production stage -FROM node:16.13.2-alpine +FROM node:16.19.1-alpine # Define some ENV Vars ENV PORT=80 \