From 58da9422e41ccc11c9df4d290486c363d191a440 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 25 Jul 2024 19:35:42 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE314-CURL-1585249 - https://snyk.io/vuln/SNYK-ALPINE314-CURL-1585249 - https://snyk.io/vuln/SNYK-ALPINE314-CURL-2938017 - https://snyk.io/vuln/SNYK-ALPINE314-CURL-3320728 - https://snyk.io/vuln/SNYK-ALPINE314-FREETYPE-2809178 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 66be627b62..ada0518144 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,7 +54,7 @@ RUN yarn run build # Stage 2: Bundle the built application into a Docker container # which runs Nginx using Alpine Linux -FROM nginx:1.21.1-alpine +FROM nginx:1.26.0-alpine RUN apk add --no-cache bash RUN rm -rf /etc/nginx/conf.d COPY .docker/Viewer-v2.x /etc/nginx/conf.d