From 6de7d2ebea6bbe1eb3fb5550cc5e131801f10b6d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 21 Feb 2024 00:39:47 +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-CURL-3320728 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 66be627b62d..7835b3a36b8 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.25.1-alpine RUN apk add --no-cache bash RUN rm -rf /etc/nginx/conf.d COPY .docker/Viewer-v2.x /etc/nginx/conf.d