From 24cbe212e9eb9c88dd3743245180cf9be0169dec Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 6 Dec 2024 07:03:06 +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-LIBJPEGTURBO-588623 --- 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..14d7fe4 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.3-alpine # Copy the react build from Stage 1 COPY --from=build /app/build /var/www