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
+1 -1
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