Skip to content

Commit

Permalink
🚑️(frontend) fixe CVEs in frontend image
Browse files Browse the repository at this point in the history
Use alpine version for production image instead of debian in order
tohave less CVEs.
  • Loading branch information
rouja committed Sep 27, 2024
1 parent fa83f07 commit a1b4499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1b4499

Please sign in to comment.