Skip to content

Commit

Permalink
fix distroless image
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosyya committed Aug 14, 2024
1 parent 6a1ae4a commit 5012ec5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Dockerfile.distroless
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ FROM gcr.io/distroless/base-debian11

USER nonroot:nonroot
WORKDIR /home/nonroot
COPY --from=builder --chown=nonroot:nonroot /gnfd-qa-test-monitor/build/monitor $WORKDIR
ENTRYPOINT ["./monitor"]
# COPY --from=builder --chown=nonroot:nonroot /gnfd-qa-test-monitor/build/monitor $WORKDIR
# ENTRYPOINT ["./monitor"]

COPY --from=builder --chown=nonroot:nonroot /gnfd-qa-test-monitor/build/* ${WORKDIR}/

ENTRYPOINT ["/app/monitor"]

0 comments on commit 5012ec5

Please sign in to comment.