mirror of
https://github.com/ilyakooo0/reshape.git
synced 2024-08-16 22:00:51 +03:00
9 lines
242 B
Docker
9 lines
242 B
Docker
FROM rust:1.58.0 AS builder
|
|
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"] |