From 5b8e94902eb431cea84e5d136208b42bf223c7d6 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 3 Oct 2024 11:47:02 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE314-CURL-2938017 - https://snyk.io/vuln/SNYK-ALPINE314-CURL-2938017 - https://snyk.io/vuln/SNYK-ALPINE314-CURL-3320728 - https://snyk.io/vuln/SNYK-ALPINE314-CURL-3320728 - https://snyk.io/vuln/SNYK-ALPINE314-ZLIB-2976174 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4863eb1..d8d6138 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN yarn install RUN yarn build # Nginx -FROM nginx:1.20-alpine +FROM nginx:1.27.2-alpine COPY --from=builder /app/map/dist /usr/share/nginx/html COPY ./docker-entrypoint.sh /docker-entrypoint.sh ENTRYPOINT ["/docker-entrypoint.sh"]