💚(frontend) fix frontend image vulnerabilities
Fixed vulnerabilities found by the Trivy Scan.
This commit is contained in:
committed by
aleb_the_flash
parent
1e934957f5
commit
7a73bf8fc2
@@ -32,7 +32,7 @@ WORKDIR /home/frontend
|
|||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
# ---- Front-end image ----
|
# ---- 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
|
# Un-privileged user running the application
|
||||||
ARG DOCKER_USER
|
ARG DOCKER_USER
|
||||||
|
|||||||
Reference in New Issue
Block a user