This commit is contained in:
Vivian 2022-11-22 10:33:56 +01:00
commit 0d3ece6b56
2 changed files with 10 additions and 0 deletions

9
Dockerfile Normal file
View file

@ -0,0 +1,9 @@
FROM alpine:3 as builder
RUN apk add --no-cache cargo
RUN cargo install mdbook
RUN cargo install mdbook-toc
FROM alpine:3
RUN apk add --no-cache libgcc
COPY --from=builder /root/.cargo/bin/mdbook /bin/mdbook
COPY --from=builder /root/.cargo/bin/mdbook-toc /bin/mdbook-toc

1
README.md Normal file
View file

@ -0,0 +1 @@
# mdbook Dockerfile