add dockerfile

This commit is contained in:
JMARyA 2023-10-26 15:26:32 +02:00
parent 0e79324393
commit 99fe4ecee1
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

13
Dockerfile Normal file
View file

@ -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"]