Skip to content

🐳 An image optimised for running Github Pages locally

License

Notifications You must be signed in to change notification settings

punkstar/docker-github-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Docker Image for GitHub Pages

This image provides an environment for previewing Jekyll sites in a GitHub pages environment on your local machine.

Usage

Create a script called run.sh in your project with the following contents:

docker run --rm \
  -v $(pwd):/site \
  -p 4000:4000 \
  punkstar/github-pages \
  serve --watch --incremental --port 4000 --host 0.0.0.0

Your site will now be available at http://localhost:4000, or whatever IP you're running Docker on.

About

🐳 An image optimised for running Github Pages locally

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published