From 3701f6414db99ef6ce24c8db297e4d69d43ba665 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 4 May 2023 16:47:54 +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-FREETYPE-5423814 - 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 a1bf0b2d..24de82b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,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