Public | Automated Build

Last pushed: 2 years ago
Short Description
An Alpine Linux based Dockerfile for developing Github Pages sites.
Full Description

An Alpine Linux based Dockerfile providing a local Github Pages static site development environment with a focus on minimal image size.

Site source should be shared to /usr/src/app

Jekyll is exposed on the containers port 4000

By default the container executes command:

jekyll serve -d /_site --incremental -H 0.0.0.0 -P 4000

An example sharing the present working directory, exposing port 4000 locally:

docker run -v $PWD:/usr/src/app -p 4000:4000 richardjennings/github-pages-alpine

A blog post around the Dockerfile is available at https://richardjennings.github.io/docker/2016/12/16/github-pages-alpine/

Docker Pull Command
Owner
richardjennings
Source Repository