From 15dbbbb51d1a30c398fd7345c7f893a88c61fdd7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 26 Jul 2024 08:01:06 +0000 Subject: [PATCH] fix: production/Dockerfile.nginx to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-6241039 - https://snyk.io/vuln/SNYK-ALPINE318-LIBXML2-6245694 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249265 - https://snyk.io/vuln/SNYK-ALPINE318-BUSYBOX-7249419 - https://snyk.io/vuln/SNYK-ALPINE318-EXPAT-6241040 --- production/Dockerfile.nginx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/production/Dockerfile.nginx b/production/Dockerfile.nginx index b3548503..df9149b4 100644 --- a/production/Dockerfile.nginx +++ b/production/Dockerfile.nginx @@ -21,7 +21,7 @@ COPY --chown=node:node /. /home/node/app/ COPY --from=build --chown=node:node /home/node/node_modules/ /home/node/app/node_modules/ RUN npm run build -FROM nginx:1.25.3-alpine +FROM nginx:1.26.0-alpine RUN mkdir -p /app/dist COPY --from=bundler --chown=www-data:www-data /home/node/app/public/ /app/dist