Browse Source

Added mermaid

master
Yigit Colakoglu 3 years ago
parent
commit
ba8c3d514e
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      Dockerfile
  2. +1
    -1
      README.md

+ 1
- 0
Dockerfile View File

@ -2,6 +2,7 @@ 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
WORKDIR /wiki WORKDIR /wiki


+ 1
- 1
README.md View File

@ -4,7 +4,7 @@ This is a *very* simple docker container for the
[mdzk](https://github.com/mdzk-rs/mdzk) zettelkasten publishing framework. [mdzk](https://github.com/mdzk-rs/mdzk) zettelkasten publishing framework.
Created because reinstalling using docker for every automated build was too Created because reinstalling using docker for every automated build was too
costly. You can find it on costly. You can find it on
[DockerHub](https://hub.docker.com/repository/docker/fr1nge/mdzk/).
[DockerHub](https://hub.docker.com/r/fr1nge/mdzk/).
To serve a zettelkasten on port 8080, the command is: To serve a zettelkasten on port 8080, the command is:
``` ```


Loading…
Cancel
Save