Skip to content

Commit 7ff2fe9

Browse files
committed
🚑️(frontend) fixe CVEs in frontend image
Use alpine version for production image instead of debian in order to have less CVEs.
1 parent bb0ec8a commit 7ff2fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frontend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ ENV NEXT_PUBLIC_API_ORIGIN=${API_ORIGIN}
7373
RUN yarn build
7474

7575
# ---- Front-end image ----
76-
FROM nginxinc/nginx-unprivileged:1.25 as frontend-production
76+
FROM nginxinc/nginx-unprivileged:1.26-alpine as frontend-production
7777

7878
# Un-privileged user running the application
7979
ARG DOCKER_USER

0 commit comments

Comments
 (0)