Merge pull request #1059 from huuff/master

fix the crate install path in Dockerfile
This commit is contained in:
Ed Page 2024-07-22 14:29:20 -05:00 committed by GitHub
commit 82ff712782
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3,7 +3,7 @@ ARG DEBIAN_DIST=bullseye
FROM rust:${DEBIAN_DIST} as builder
WORKDIR /usr/src/typos
COPY . .
RUN cargo install --path .
RUN cargo install --path ./crates/typos-cli
FROM debian:${DEBIAN_DIST}-slim
COPY --from=builder /usr/local/cargo/bin/typos /usr/local/bin/typos