From 01004bf69fb33b05fbb4a827dde01db0e6787d69 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 5 Jul 2021 03:21:14 +0000 Subject: [PATCH] fix: client/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN9-LIBXML2-429367 - https://snyk.io/vuln/SNYK-DEBIAN9-LIBXML2-429564 - 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..0252ccd 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 COPY --from=build-stage /app/build/ /usr/share/nginx/html COPY --from=build-stage /app/nginx.conf /etc/nginx/conf.d/default.conf