From 45528d9e054d156ae0c1e64b9951c9a545a5bda6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 23 Sep 2023 16:55:09 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-CURL-3320725 - https://snyk.io/vuln/SNYK-ALPINE317-CURL-3320725 - https://snyk.io/vuln/SNYK-ALPINE317-CURL-5915640 - https://snyk.io/vuln/SNYK-ALPINE317-CURL-5915640 - https://snyk.io/vuln/SNYK-ALPINE317-LIBWEBP-5902239 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7f662e2..ffe3032 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.25.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;"]