Skip to content

The source Dockerfile and instructions for CMC's MDWiki image on Docker Hub.

License

Notifications You must be signed in to change notification settings

claremontmckennacollege/docker-mdwiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MDWiki

This is an image to quickly deploy websites based on MDWiki. This project is unaffiliated, but does use the official release archives.

Image is available directly from Docker Hub at https://hub.docker.com/r/claremontmckenna/mdwiki/

How It Works

On image build, the Dockerfile fetches the official binary release from GitHub and extracts it.

On container run, the mdwiki.html file is copied into the docroot as index.html and served via python's SimpleHTTPServer on port 80.

Ports and Volumes

Port 80 is exposed. The app is served from the /md-app on port 80 on container run.

/md-app is defined in the image and is the effective docroot. It is intended to be specified with -v on run to the location of .md files used to power mdwiki.

Run Example

This will serve MDWiki on localhost:8000.

$ docker run --detach -p 8000:80 -v /path/to/mds:/md-app claremontmckenna/mdwiki

About

The source Dockerfile and instructions for CMC's MDWiki image on Docker Hub.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published