From a26c299abffc641c129d00f7701211d4cd70c6f4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 26 May 2022 12:17:36 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-LIBXML2-2806812 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENLDAP-2808413 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2807596 - https://snyk.io/vuln/SNYK-DEBIAN11-TIFF-2823289 - https://snyk.io/vuln/SNYK-DEBIAN11-TIFF-2823291 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a1bf0b2d..f5f888fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /app RUN npm install RUN npm run build -FROM nginx:latest +FROM nginx:stable RUN echo "daemon off;" >> /etc/nginx/nginx.conf COPY build/server.conf /etc/nginx/conf.d/default.conf