From 39dbb2b0fa259e6d6429174cba92d65b4662790f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 4 May 2023 17:40:33 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493 - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493 - https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-5421197 - https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-5421197 - https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-5421197 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 940389d9..a5674f4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /app RUN npm install RUN npm run build -FROM nginx:latest +FROM nginx:1-bullseye RUN echo "daemon off;" >> /etc/nginx/nginx.conf COPY build/server.conf /etc/nginx/conf.d/default.conf