Merge pull request #639 from scop/feat/docker-entrypoint

feat: Improve Docker image entry
This commit is contained in:
Ed Page 2022-12-19 08:06:08 -06:00 committed by GitHub
commit 51f0b657f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,4 +7,5 @@ RUN cargo install --path .
FROM debian:${DEBIAN_DIST}-slim FROM debian:${DEBIAN_DIST}-slim
COPY --from=builder /usr/local/cargo/bin/typos /usr/local/bin/typos COPY --from=builder /usr/local/cargo/bin/typos /usr/local/bin/typos
CMD ["typos"] ENTRYPOINT ["typos"]
CMD ["--help"]