Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Repository files navigation

DockerJekyll

Building the smallest possible Docker image (based on nginx:stable-alpine) to deploy a static Jekyll website

Getting started

jekyll build
docker build -t my-site .
docker run -it -p 8080:80 my-site

Open http://localhost:8080 in your browser.

About size

The resulting image contains only nginx and the HTML code. No Ruby, no build stuff - ready to ship to your Docker host.

Look at the image size:

$ docker images | grep my-site
my-site   latest   9d3ab37ef5d8   3 seconds ago   22.7MB

About

Smallest possible Docker image to deploy a static Jekyll website

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages