From a5acc94f5270409ea37ca0d1f3c61830c9ab8422 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 25 Dec 2024 04:19:48 +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-PYTHON39-1290158 - https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158 - https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158 - https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1290158 - https://snyk.io/vuln/SNYK-DEBIAN11-PYTHON39-1570176 --- 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..06afa398b 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.12.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.12.0-bullseye ENV NODE_ENV=production # Uncomment the following line to enable agent logging LABEL "network.forta.settings.agent-logs.enable"="true"