From e59bb176cfa164b4b43c4bf4e21e7a4f22620275 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Jul 2024 06:57:41 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-7413532 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 11a85ba..406dd20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM node:lts-alpine AS build +FROM node:20.15.1-alpine3.20 AS build WORKDIR /app @@ -10,7 +10,7 @@ COPY . . RUN yarn build # Final stage -FROM node:lts-alpine AS final +FROM node:20.15.1-alpine3.20 AS final WORKDIR /app