From caa858daacc3daa13eb8de14efb74624d56291dc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 24 Jul 2024 02:18:25 +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-588029 --- 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..a35f488 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-alpine # Copy the react build from Stage 1 COPY --from=build /app/build /var/www