Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
Fix Docker entrypoint (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
bretthoerner authored Feb 7, 2024
1 parent 6770bed commit cb635eb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

ARG BIN
ENV ENTRYPOINT=/usr/local/bin/$BIN
WORKDIR /app

USER nobody

COPY --from=builder /app/target/release/$BIN /usr/local/bin
ENTRYPOINT [ $ENTRYPOINT ]
ENTRYPOINT ["/bin/sh", "-c", "/usr/local/bin/$BIN"]

0 comments on commit cb635eb

Please sign in to comment.