mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-23 01:20:56 -05:00
fixed the crate install path
This commit is contained in:
parent
320b578147
commit
d7bacc4dc6
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ ARG DEBIAN_DIST=bullseye
|
||||||
FROM rust:${DEBIAN_DIST} as builder
|
FROM rust:${DEBIAN_DIST} as builder
|
||||||
WORKDIR /usr/src/typos
|
WORKDIR /usr/src/typos
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN cargo install --path .
|
RUN cargo install --path ./crates/typos-cli
|
||||||
|
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue