Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

A base image for Jekyll sites.
https://github.com/noonat/docker-jekyll

Last synced: 1 day ago
JSON representation

A base image for Jekyll sites.

Awesome Lists containing this project

README

        

Jekyll Base Docker Image
========================

This image can be used as a base image for Dockerfiles for your Jekyll sites.
It includes Nginx (to serve the static content), Ruby (and jekyll-related gems),
and Pygments. It expects your static content to be in `/opt/site`.

A Dockerfile using it might look like so:

```dockerfile
FROM noonat/jekyll
COPY . /opt/src
WORKDIR /opt/src
RUN jekyll build && \
rm -rf /opt/site && \
mv _site /opt/site
```

You can override the nginx virtual host by replacing
`/etc/nginx/conf.d/jekyll.conf` with your own config.