Skip to content

Commit

Permalink
fix(docker): drop unused sh binary
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Nov 23, 2023
1 parent 9af7964 commit c5b0eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ WORKDIR /app
# Import user files
COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /etc/group /etc/group
COPY --from=builder /bin/sh /bin/sh

# Import binary
COPY --from=builder \
/app/target/release/rdfpipe-rs \
/app/rdfpipe-rs

# Use unprivileged user
USER rust:rust

ENV PATH="/app/:${PATH}"
Expand Down

0 comments on commit c5b0eac

Please sign in to comment.