From 748e24cab6f3b87bfb4144747b376a19817c9f91 Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Fri, 27 Sep 2024 16:51:09 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F(frontend)=20fixe=20CVEs?= =?UTF-8?q?=20in=20frontend=20image?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use alpine version for production image instead of debian in order tohave less CVEs. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 22c02ed..fc0a9bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,7 +40,7 @@ FROM frontend-builder-dev as frontend-builder RUN yarn build # ---- Front-end image ---- -FROM nginxinc/nginx-unprivileged:1.25 as frontend-production +FROM nginxinc/nginx-unprivileged:1.26-alpine as frontend-production # Un-privileged user running the application ARG DOCKER_USER