From 17648361fc3c1cbc5a5bf1788a0c57f48edae43f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 19 Apr 2024 14:29:55 +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-2938017 - 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 66be627b62d..ec50d8d1194 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.4-alpine RUN apk add --no-cache bash RUN rm -rf /etc/nginx/conf.d COPY .docker/Viewer-v2.x /etc/nginx/conf.d