Skip to content

Commit

Permalink
[Snyk] Security upgrade nginx from mainline-alpine to 1.23.1-alpine (#94
Browse files Browse the repository at this point in the history
)

fix: Dockerfile.ui to reduce vulnerabilities
  • Loading branch information
snyk-bot authored Aug 12, 2022
1 parent 4489000 commit 89ae6cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.ui
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 89ae6cc

Please sign in to comment.