mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 18:10:56 -05:00
8 lines
194 B
Docker
8 lines
194 B
Docker
FROM rust:1.58.1 as builder
|
|
WORKDIR /usr/src/typos
|
|
COPY . .
|
|
RUN cargo install --path .
|
|
|
|
FROM debian:buster-slim
|
|
COPY --from=builder /usr/local/cargo/bin/typos /usr/local/bin/typos
|
|
CMD ["typos"]
|