Skip to content

Commit

Permalink
test distroless image
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosyya committed Aug 14, 2024
1 parent b74e756 commit 9092b19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.distroless
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ ARG USER_GID=1000

WORKDIR /app

COPY --from=builder /gnfd-qa-test-monitor/build/* ${WORKDIR}
COPY --from=builder /gnfd-qa-test-monitor/build/* ${WORKDIR}/
RUN chown -R ${USER_UID}:${USER_GID} ${WORKDIR}
USER ${USER_UID}:${USER_GID}
RUN cd /app && pwd && ls -al
RUN cd ${WORKDIR}/ && pwd && ls -al
ENTRYPOINT ["/app/monitor"]

# USER nonroot:nonroot
Expand Down

0 comments on commit 9092b19

Please sign in to comment.