From f58877594cb77f6d859862f9a59b33c66a95f3c4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 7 Feb 2025 07:25:49 +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..e0ad2bc 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.27.4-alpine # Copy the react build from Stage 1 COPY --from=build /app/build /var/www