From 68ab8fe67a7c5a3503212eb3d0f6faacabcf5f37 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 26 Nov 2024 18:03:09 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-8379641 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6255385 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-6252334 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-6032386 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71c043c67..2a0419044 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.9-alpine AS prebuild +FROM node:20.18.1-alpine AS prebuild # Set working directory WORKDIR /var/www/app @@ -47,7 +47,7 @@ RUN yarn build:ssr ############################################## -FROM node:20.9-alpine +FROM node:20.18.1-alpine COPY --from=prebuild /var/www/app/dist/ssr /var/www/app/dist/ssr