There was an error while loading. Please reload this page.
1 parent 6ef070d commit b247bdbCopy full SHA for b247bdb
1 file changed
docs/operational-docs/Dockerfile
@@ -3,12 +3,7 @@ FROM rust:1.90-slim AS builder
3
4
# Install mdbook
5
RUN cargo install mdbook --version 0.5.1
6
-
7
-# Use the same base as the builder for compatibility
8
-FROM rust:1.90-slim
9
10
-# Copy mdbook binary from builder
11
-COPY --from=builder /usr/local/cargo/bin/mdbook /usr/local/bin/mdbook
+RUN cargo install mdbook-mermaid
12
13
# Set working directory
14
WORKDIR /docs
@@ -18,6 +13,8 @@ COPY book.toml .
18
COPY src ./src
19
COPY theme ./theme
20
15
16
+RUN mdbook-mermaid install /docs
17
+
21
# Expose the port mdbook serve uses
22
EXPOSE 3000
23
0 commit comments