From 86465f4adca8d4b3ef8ed81181a2a60e4de348ca Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 3 Sep 2021 23:00:09 +0000 Subject: [PATCH] fix: frontend/dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN10-GLIBC-1315333 - https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-1569403 - https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-1569403 - https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-1569406 - https://snyk.io/vuln/SNYK-DEBIAN10-OPENSSL-1569406 --- frontend/dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dockerfile b/frontend/dockerfile index 18b36bc..2537718 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.20 COPY --from=builder /app/frontend/build /usr/share/nginx/html EXPOSE 80 CMD [ "nginx", "-g", "daemon off;"]