From c2573f8ff97172512152f5dd8ab138aeaf31e71e Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 22 Jul 2021 19:03:45 +0000 Subject: [PATCH] fix: frontend/dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN10-LIBXML2-429486 - https://snyk.io/vuln/SNYK-DEBIAN10-SYSTEMD-345386 - https://snyk.io/vuln/SNYK-DEBIAN10-SYSTEMD-345386 - https://snyk.io/vuln/SNYK-DEBIAN10-SYSTEMD-345391 - https://snyk.io/vuln/SNYK-DEBIAN10-SYSTEMD-345391 --- frontend/dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/dockerfile b/frontend/dockerfile index 18b36bc..959a363 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 COPY --from=builder /app/frontend/build /usr/share/nginx/html EXPOSE 80 CMD [ "nginx", "-g", "daemon off;"]