git clone [email protected]:aisuhua/docker-mkdocs.git
cd docker-mkdocs
docker-compose build
new
docker run --rm -u $UID -v ${PWD}:/docs aisuhua/mkdocs-material:latest new .
run
docker run --rm -p 8000:8000 -u $UID -v ${PWD}:/docs aisuhua/mkdocs-material:latest
build
docker run --rm -u $UID -v ${PWD}:/docs aisuhua/mkdocs-material:latest build
Dockerfile
FROM aisuhua/docker-mkdocs:latest
COPY . /docs
RUN mkdocs build --clean
Build
docker build -t myapp:latest .