Sign inSign up

richardjennings/github-pages-alpine

By richardjennings

Updated over 9 years ago

An Alpine Linux based Dockerfile for developing Github Pages sites.

Image
4

287

richardjennings/github-pages-alpine repository overview

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://richj.co/github-pages-alpine/

Tag summary

Content type

Image

Digest

Size

20.3 MB

Last updated

over 9 years ago

docker pull richardjennings/github-pages-alpine