mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-18 01:45:12 +02:00
Merge pull request #1059 from huuff/master
fix the crate install path in Dockerfile
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user