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 to
have less CVEs.
  • Loading branch information
rouja committed Sep 27, 2024
1 parent 2831263 commit bb16aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb16aae

Please sign in to comment.