From b4dafd2eb521b5c173932fcc955d4b6dd960aa7f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 3 Oct 2024 11:21:12 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-EXPAT-7855505 - https://snyk.io/vuln/SNYK-DEBIAN11-EXPAT-7855508 - https://snyk.io/vuln/SNYK-DEBIAN11-KRB5-7411316 - https://snyk.io/vuln/SNYK-DEBIAN11-KRB5-7411316 - https://snyk.io/vuln/SNYK-DEBIAN11-KRB5-7411316 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 322accf..2f762ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN npm run ci:check RUN npm run build # Stage 2 - the static server -FROM nginx:1.24 +FROM nginx:1.27.2 COPY --from=build-deps /usr/src/app/build /var/www COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 80