From 77818eee6c318c2f0f31bf50767ab53c24550c5d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 17 May 2025 09:14:34 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6bd35167..f9c58b8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ### Build stage -FROM node:20.19.1-alpine3.20 AS builder +FROM node:20.19.2-alpine3.20 AS builder ENV HOME=/home/app ENV APP_PATH=$HOME/graphql-api @@ -21,7 +21,7 @@ COPY src $APP_PATH/src RUN yarn ncc ### Run stage -FROM node:20.19.1-alpine3.20 +FROM node:20.19.2-alpine3.20 WORKDIR /home/app/graphql-api COPY --from=builder /home/app/graphql-api/build/index.js index.js