From cca917469dc96a5fceea890a0719fb01ac239888 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 4 Feb 2023 22:35:25 +0000 Subject: [PATCH] fix: frontend/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3065656 - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3065656 - https://snyk.io/vuln/SNYK-DEBIAN11-CURL-3179181 - https://snyk.io/vuln/SNYK-DEBIAN11-TIFF-3113871 - https://snyk.io/vuln/SNYK-DEBIAN11-TIFF-3252499 --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 4d837648..88807d2c 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.23 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