A Docker image to serve Github Pages locally.
Build the Docker image by running Docker from the directory containing the local repository, you may want to replace cwbaker/github-pages with your own tag:
docker build -t cwbaker/github-pages .Serve Github Pages by running the following from the directory containing the site, again you may want to replace cwbaker/github-pages:
docker run --rm -it -v ${PWD}:/github-pages -p 4000:4000 cwbaker/github-pagesI'm not expecting or accepting contributions to this repository. Fork it and make it your own!
The contents of this repository are licensed under the MIT License.