From ff9fb56660b67ab477089cdd81f66c2031e70891 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 14 Nov 2024 05:08:13 +0000 Subject: [PATCH] fix: Dockerfile.client to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE320-CURL-8348469 - https://snyk.io/vuln/SNYK-ALPINE320-CURL-8348469 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201 - https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201 --- Dockerfile.client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.client b/Dockerfile.client index 07629847..b349594a 100644 --- a/Dockerfile.client +++ b/Dockerfile.client @@ -8,7 +8,7 @@ COPY app/client /app RUN npm run build # production environment -FROM nginx:alpine +FROM nginx:1.27.2-alpine3.20 COPY --from=build /app/build /usr/share/nginx/html RUN rm /etc/nginx/conf.d/default.conf COPY nginx/nginx.conf /etc/nginx/conf.d