From 1c17e7c0bbd41ed781862754de5cfb3997e1d411 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Jul 2024 04:00:35 +0000 Subject: [PATCH] fix: polling-app-client/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE39-FREETYPE-1019627 - https://snyk.io/vuln/SNYK-ALPINE39-BZIP2-452847 - https://snyk.io/vuln/SNYK-ALPINE39-MUSL-458529 - https://snyk.io/vuln/SNYK-ALPINE39-MUSL-458529 - https://snyk.io/vuln/SNYK-ALPINE39-OPENSSL-1089235 --- polling-app-client/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polling-app-client/Dockerfile b/polling-app-client/Dockerfile index da4ab90..f9b9730 100644 --- a/polling-app-client/Dockerfile +++ b/polling-app-client/Dockerfile @@ -24,7 +24,7 @@ ENV REACT_APP_API_BASE_URL=${REACT_APP_API_BASE_URL} RUN npm run build #### Stage 2: Serve the React application from Nginx -FROM nginx:1.17.0-alpine +FROM nginx:1.26.0-alpine # Copy the react build from Stage 1 COPY --from=build /app/build /var/www