From 00b792ca18eff67217ac94c8fa9925a98a4d08eb Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 19 Nov 2024 03:22:57 +0000 Subject: [PATCH] fix: victim-loss-identifier/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-PERL-1925976 - https://snyk.io/vuln/SNYK-DEBIAN11-PERL-1925976 - https://snyk.io/vuln/SNYK-DEBIAN11-PERL-5489191 - https://snyk.io/vuln/SNYK-DEBIAN11-PERL-5489191 - https://snyk.io/vuln/SNYK-DEBIAN11-SQLITE3-6139925 --- victim-loss-identifier/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/victim-loss-identifier/Dockerfile b/victim-loss-identifier/Dockerfile index 4aee1e0b4..863e367fe 100644 --- a/victim-loss-identifier/Dockerfile +++ b/victim-loss-identifier/Dockerfile @@ -1,12 +1,12 @@ # Build stage: compile Typescript to Javascript -FROM node:bullseye AS builder +FROM node:22.11.0-bullseye AS builder WORKDIR /app COPY . . RUN npm ci RUN npm run build # Final stage: copy compiled Javascript from previous stage and install production dependencies -FROM node:bullseye +FROM node:22.11.0-bullseye ENV NODE_ENV=production # Uncomment the following line to enable agent logging LABEL "network.forta.settings.agent-logs.enable"="true"