From 4cbb26561f0e8e657d4eec9682a1518243310bed Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 20 Oct 2021 00:38:09 +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..e8b5a1f 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:stable COPY --from=build-stage /app/build/ /usr/share/nginx/html COPY --from=build-stage /app/nginx.conf /etc/nginx/conf.d/default.conf