mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 10:31:02 -05:00
Merge pull request #1059 from huuff/master
fix the crate install path in Dockerfile
This commit is contained in:
commit
82ff712782
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