Browse Source

Switch mdbook-mermaid to my fork

master
Yigit Colakoglu 3 years ago
parent
commit
e802044563
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      Dockerfile

+ 3
- 1
Dockerfile View File

@ -2,8 +2,10 @@ FROM rust:latest
RUN git clone https://github.com/mdzk-rs/mdzk.git RUN git clone https://github.com/mdzk-rs/mdzk.git
RUN cd mdzk && cargo build --release && cd / RUN cd mdzk && cargo build --release && cd /
RUN cargo install mdbook-mermaid
RUN cp ./mdzk/target/release/mdzk /bin RUN cp ./mdzk/target/release/mdzk /bin
RUN git clone https://github.com/theFr1nge/mdbook-mermaid.git
RUN cd mdbook-mermaid && cargo build --release && cd /
RUN cp ./mdbook-mermaid/target/release/mdbook-mermaid /bin
WORKDIR /wiki WORKDIR /wiki
CMD /bin/mdzk serve CMD /bin/mdzk serve

Loading…
Cancel
Save