From 6ec674d0b2258dba1a80afb8e8ce684acb8ae2ee Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Apr 2024 02:50:06 +0000 Subject: [PATCH] fix: leaktopus_frontend/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-5927133 - https://snyk.io/vuln/SNYK-DEBIAN11-LIBWEBP-5893094 - https://snyk.io/vuln/SNYK-DEBIAN11-NGHTTP2-5953384 - https://snyk.io/vuln/SNYK-DEBIAN11-NGINX-5953387 --- leaktopus_frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaktopus_frontend/Dockerfile b/leaktopus_frontend/Dockerfile index bcefc3a..adc2363 100644 --- a/leaktopus_frontend/Dockerfile +++ b/leaktopus_frontend/Dockerfile @@ -9,7 +9,7 @@ COPY src ./src RUN jq 'to_entries | map_values({ (.key) : ("$" + .key) }) | reduce .[] as $item ({}; . + $item)' ./src/config.json > ./src/config.tmp.json && mv ./src/config.tmp.json ./src/config.json RUN npm install && npm run build -FROM nginx:1.23 +FROM nginx:1.26 ENV JSFOLDER=/usr/share/nginx/html/js/*.js COPY ./start-nginx.sh /usr/bin/start-nginx.sh RUN chmod +x /usr/bin/start-nginx.sh