From 99fe4ecee1166d09f74051e8f14679cb445bbd78 Mon Sep 17 00:00:00 2001 From: JMARyA Date: Thu, 26 Oct 2023 15:26:32 +0200 Subject: [PATCH] add dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..92eef1c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM rust:buster as builder + +COPY . /app +WORKDIR /app + +RUN cargo build --release + +FROM ubuntu + +COPY --from=builder /app/target/release/mdq /mdq + +ENTRYPOINT ["/mdq"] +CMD ["--help"] \ No newline at end of file