From 7a460ee4fd666e6b6585db2edbc54738c1cf8725 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 3 May 2024 04:40:42 +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-GLIBC-6617104 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-6617104 - https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 322accf..47f342f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN npm run ci:check RUN npm run build # Stage 2 - the static server -FROM nginx:1.24 +FROM nginx:1 COPY --from=build-deps /usr/src/app/build /var/www COPY nginx.conf /etc/nginx/nginx.conf EXPOSE 80