https://github.com/noonat/docker-jekyll
A base image for Jekyll sites.
https://github.com/noonat/docker-jekyll
Last synced: 3 months ago
JSON representation
A base image for Jekyll sites.
- Host: GitHub
- URL: https://github.com/noonat/docker-jekyll
- Owner: noonat
- Created: 2015-01-20T00:58:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-20T16:09:19.000Z (over 10 years ago)
- Last Synced: 2024-10-19T11:30:40.532Z (9 months ago)
- Homepage: https://registry.hub.docker.com/u/noonat/jekyll/
- Size: 129 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.