add dockerfile
This commit is contained in:
parent
0e79324393
commit
99fe4ecee1
1 changed files with 13 additions and 0 deletions
13
Dockerfile
Normal file
13
Dockerfile
Normal 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"]
|
Loading…
Add table
Reference in a new issue