13 lines
173 B
Docker
13 lines
173 B
Docker
FROM rust:latest
|
|
|
|
RUN cargo install mdbook
|
|
RUN apt-get update && apt-get install -y vim git
|
|
|
|
RUN mkdir -p /mdbook
|
|
WORKDIR /mdbook
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD mdbook serve -n 0.0.0.0
|
|
|