fixed the crate install path

This commit is contained in:
Haf 2024-07-20 23:59:40 +02:00
parent 320b578147
commit d7bacc4dc6

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