Fix: Change user to nonroot
All checks were successful
Build image and deploy / release-image (push) Successful in 2m46s
Build image and deploy / deploy (push) Successful in 15s

This commit is contained in:
2024-10-29 01:40:34 +00:00
parent 288715f0c1
commit 6130e172cd

View File

@@ -7,7 +7,6 @@ FROM gcr.io/distroless/nodejs22-debian12:nonroot
WORKDIR /work WORKDIR /work
COPY --from=build /work /work COPY --from=build /work /work
USER nonroot
USER node
CMD ["index.js"] CMD ["index.js"]