From 2779a3cc1145aa26bfdd8837dda46890b479663f Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Mon, 29 Nov 2021 10:32:13 +0000 Subject: [PATCH] Now receive the latest version from github --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e7d092b..0bc8588 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM rust:latest -RUN cargo install mdzk +RUN git clone https://github.com/mdzk-rs/mdzk.git +RUN cd mdzk +RUN cargo build +RUN cp ./target/release/mdzk /bin +RUN cd .. WORKDIR /wiki -CMD mdzk serve +CMD /bin/mdzk serve