From 87a0ecfd14038342d088e01cb0b379a6ffaa0d0c Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 29 May 2022 09:15:36 +0000 Subject: [PATCH] fix: frontend/dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-DPKG-2847942 - https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2807596 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808697 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808704 - https://snyk.io/vuln/SNYK-DEBIAN11-TIFF-2823291 --- frontend/dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dockerfile b/frontend/dockerfile index 18b36bc..f9b6305 100644 --- a/frontend/dockerfile +++ b/frontend/dockerfile @@ -11,7 +11,7 @@ RUN yarn global add react-scripts@4.0.3 COPY . ./ RUN yarn build -FROM nginx:stable +FROM nginx:1.22 COPY --from=builder /app/frontend/build /usr/share/nginx/html EXPOSE 80 CMD [ "nginx", "-g", "daemon off;"]