From 3f184ff3d6322835ac29f92e83d49bdc7ed568ad Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 21 Feb 2024 18:20:58 +0000 Subject: [PATCH] fix: Dockerfile_frontend to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-6241039 - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-6241040 - https://snyk.io/vuln/SNYK-ALPINE318-LIBXML2-6245694 --- Dockerfile_frontend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile_frontend b/Dockerfile_frontend index 2f2b45d..04ba42e 100644 --- a/Dockerfile_frontend +++ b/Dockerfile_frontend @@ -13,7 +13,7 @@ COPY web /app #build the project for production RUN npm run build -FROM nginx:1.25.3-alpine3.18 +FROM nginx:alpine # copy the build folder from react to the root of nginx (www) COPY --from=build /app/build /usr/share/nginx/html