From df6c1b566a48d15397afa92343d92651d7a6b63c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 16 Nov 2024 05:03:28 +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-3320725 - 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..4efd0fc 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.26.2-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;"]