From 19223d922318ffd3d6c48ec964c4d01347a77ab0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 21 Sep 2023 01:45:44 +0000 Subject: [PATCH] fix: leaktopus_frontend/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493 - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493 - https://snyk.io/vuln/SNYK-DEBIAN11-DB53-2825168 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-521063 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-521063 --- leaktopus_frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaktopus_frontend/Dockerfile b/leaktopus_frontend/Dockerfile index bcefc3a..828f275 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.2 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