reshape/Dockerfile

9 lines
242 B
Docker
Raw Normal View History

2022-01-14 14:59:01 +03:00
FROM rust:1.58.0 AS builder
2021-12-28 18:44:52 +03:00
WORKDIR /usr/src/reshape
COPY . .
RUN cargo build --release
FROM debian:bullseye AS runtime
WORKDIR /usr/share/app
COPY --from=builder /usr/src/reshape/target/release/reshape /usr/local/bin/reshape
CMD ["reshape"]