Public | Automated Build

Last pushed: a year ago
Short Description
An image optimised for running Github Pages locally
Full Description

Docker Image for GitHub Pages

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


Create a script called 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

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

Docker Pull Command
Source Repository