From d4ac0aeabc7431875ac608d9d27192b35dd4aa8f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 18 Jan 2025 07:08:49 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-6210098 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-6210098 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-6210088 - https://snyk.io/vuln/SNYK-DEBIAN12-GLIBC-6210088 - https://snyk.io/vuln/SNYK-DEBIAN12-PERL-6085273 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e9c403917..a9707d99c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN npm run build RUN node tools/generate-health.js # production stage -FROM openresty/openresty:bookworm AS production-stage +FROM openresty/openresty:1.27.1.1-1-bookworm AS production-stage RUN apt-get update && apt-get install -y gettext-base # required to use envsubst COPY --from=build-stage /dist /usr/share/nginx/html COPY ./docker/nginx.conf /etc/nginx/conf.d/default.conf.template