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

Commit 549c4d2

Browse files
committed
Fix Docker entrypoint
1 parent 6770bed commit 549c4d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ RUN apt-get update && \
2929
rm -rf /var/lib/apt/lists/*
3030

3131
ARG BIN
32-
ENV ENTRYPOINT=/usr/local/bin/$BIN
3332
WORKDIR /app
3433

3534
USER nobody
3635

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

0 commit comments

Comments
 (0)