From cf530a1bd2c80ac01058b24ed9cbbd6b72bde024 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 26 Aug 2021 23:39:14 +0000 Subject: [PATCH] fix: client/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN9-LIBGCRYPT20-1297891 - https://snyk.io/vuln/SNYK-DEBIAN9-LIBXML2-429367 - https://snyk.io/vuln/SNYK-DEBIAN9-LIBXML2-539774 - https://snyk.io/vuln/SNYK-DEBIAN9-LIBXML2-542924 - https://snyk.io/vuln/SNYK-DEBIAN9-LIBXML2-542930 --- client/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Dockerfile b/client/Dockerfile index 0fa6015..fff2548 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -13,7 +13,7 @@ COPY ./ /app/ RUN npm run build # Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx -FROM nginx:1.15 +FROM nginx:1.20.1 COPY --from=build-stage /app/build/ /usr/share/nginx/html COPY --from=build-stage /app/nginx.conf /etc/nginx/conf.d/default.conf