From 40a7382b0b0ac29c883b6178777f5054b0ebd11f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 17 Mar 2024 20:14:14 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-EXPAT-6241041 - https://snyk.io/vuln/SNYK-ALPINE317-EXPAT-6241042 - https://snyk.io/vuln/SNYK-ALPINE317-EXPAT-6446349 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f617d7912..85530b629 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY . . RUN npm run build # Production stage -FROM nginx:stable-alpine as production-stage +FROM nginx:1.24-alpine3.17 as production-stage COPY --from=build-stage /app/dist /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file