🚑️(frontend) fixe CVEs in frontend image

Use alpine version for production image instead of debian in order to
have less CVEs.
This commit is contained in:
Jacques ROUSSEL
2024-09-27 11:03:14 +02:00
committed by Anthony LC
parent aeeed8feb5
commit 8c9cb43097

View File

@@ -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