Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ledermann/docker-jekyll

Smallest possible Docker image to deploy a static Jekyll website
https://github.com/ledermann/docker-jekyll

deployment docker jekyll

Last synced: 12 days ago
JSON representation

Smallest possible Docker image to deploy a static Jekyll website

Awesome Lists containing this project

README

        

# DockerJekyll

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

## Getting started

```bash
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:

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