From 8d30e17664db52d90b5e71ee57f5e79ac45b812a Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 25 Oct 2023 20:10:50 +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..166ba3c 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.25.3 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