Skip to content

Commit

Permalink
use docker ENTRYPOINT directive instead of CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP authored and Kneemund committed Aug 8, 2024
1 parent 0edd799 commit bfda6e9
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 @@ -47,5 +47,4 @@ RUN cp target/$(cat /opt/.cargo-target)/release/preview_bot .
# == Bundle Stage ==
FROM scratch
COPY --from=builder /opt/previewbot/preview_bot /
CMD [ "./preview_bot" ]

ENTRYPOINT [ "./preview_bot" ]

0 comments on commit bfda6e9

Please sign in to comment.