From f684583acee3f5fd6e7cb703b62607a1954036cb Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 5 May 2023 03:25:50 +0000 Subject: [PATCH] fix: frontend/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493 - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3320493 - https://snyk.io/vuln/SNYK-DEBIAN11-FREETYPE-5423814 - https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-5421197 - https://snyk.io/vuln/SNYK-DEBIAN11-NCURSES-5421197 --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 4d837648..13e5a963 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -11,7 +11,7 @@ RUN npm run build --prod ### STAGE 2:RUN ### # Defining nginx image to be used -FROM nginx:latest AS ngi +FROM nginx:1-bullseye AS ngi # Copying compiled code and nginx config to different folder # NOTE: This path may change according to your project's output folder COPY --from=build /dist/src/app/dist/herder /usr/share/nginx/html