Skip to content

aisuhua/docker-mkdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-mkdocs

git clone

git clone [email protected]:aisuhua/docker-mkdocs.git
cd docker-mkdocs

build

docker-compose build

Usage

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

APP

Dockerfile

FROM aisuhua/docker-mkdocs:latest
COPY . /docs
RUN mkdocs build --clean

Build

docker build -t myapp:latest .

Links

  1. docker/build-push-action#33 (comment)
  2. https://github.com/marketplace/actions/build-and-push-docker-images

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published