mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
Merge pull request #639 from scop/feat/docker-entrypoint
feat: Improve Docker image entry
This commit is contained in:
commit
51f0b657f7
1 changed files with 2 additions and 1 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue