Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ledermann/docker-jekyll
- Owner: ledermann
- Created: 2018-04-29T05:12:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T18:52:08.000Z (8 months ago)
- Last Synced: 2025-01-04T01:34:09.425Z (12 days ago)
- Topics: deployment, docker, jekyll
- Language: Ruby
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```