From d7bacc4dc60548d56864275cac6cd474b4ff011a Mon Sep 17 00:00:00 2001 From: Haf Date: Sat, 20 Jul 2024 23:59:40 +0200 Subject: [PATCH] fixed the crate install path --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 141bf54..ddd37f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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