From 8c9cb430975d8371192a2f8362ecaa7427919ddf Mon Sep 17 00:00:00 2001 From: Jacques ROUSSEL Date: Fri, 27 Sep 2024 11:03:14 +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 to have less CVEs. --- src/frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/Dockerfile b/src/frontend/Dockerfile index d00319b6..ff087362 100644 --- a/src/frontend/Dockerfile +++ b/src/frontend/Dockerfile @@ -73,7 +73,7 @@ ENV NEXT_PUBLIC_API_ORIGIN=${API_ORIGIN} 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