From 89ae6cc5b88d3ec790799b6d19d683f76a036a0d Mon Sep 17 00:00:00 2001 From: Snyk bot Date: Fri, 12 Aug 2022 14:09:04 +0100 Subject: [PATCH] [Snyk] Security upgrade nginx from mainline-alpine to 1.23.1-alpine (#94) fix: Dockerfile.ui to reduce vulnerabilities --- Dockerfile.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.ui b/Dockerfile.ui index 4d0cadae2165..4a5b89aaf30c 100644 --- a/Dockerfile.ui +++ b/Dockerfile.ui @@ -36,7 +36,7 @@ COPY cvat-canvas/ /tmp/cvat-canvas/ COPY cvat-ui/ /tmp/cvat-ui/ RUN yarn run build:cvat-ui -FROM nginx:mainline-alpine +FROM nginx:1.23.1-alpine # Replace default.conf configuration to remove unnecessary rules COPY cvat-ui/react_nginx.conf /etc/nginx/conf.d/default.conf COPY --from=cvat-ui /tmp/cvat-ui/dist /usr/share/nginx/html/