Browse Source

Now receive the latest version from github

master
Yigit Colakoglu 3 years ago
parent
commit
2779a3cc11
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      Dockerfile

+ 6
- 2
Dockerfile View File

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

Loading…
Cancel
Save