🚑️(frontend) fixe CVEs in frontend image
Use alpine version for production image instead of debian in order tohave less CVEs.
This commit is contained in:
committed by
Laurent Bossavit
parent
55c0815c31
commit
748e24cab6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user