From d567af4c39a110b08fe11a2ff575fd32d419bef5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 24 Jul 2024 03:39:40 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-LIBWEBP-5902239 - https://snyk.io/vuln/SNYK-ALPINE317-NGHTTP2-5954769 - https://snyk.io/vuln/SNYK-ALPINE317-CURL-3320725 - https://snyk.io/vuln/SNYK-ALPINE317-CURL-5958910 - https://snyk.io/vuln/SNYK-ALPINE317-CURL-5958910 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7f662e2..2dce2ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ WORKDIR /opt/blog-search/blog RUN hugo # Serve the site -FROM nginx:1.23.3-alpine AS server +FROM nginx:1.27-alpine AS server COPY --from=builder /opt/blog-search/blog/public/ /var/www/html/public/ EXPOSE 6443/tcp CMD ["/usr/sbin/nginx", "-g", "daemon off;"]