Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

GOAL: Nginx-Jekyll blog base container with github-pages jekyll jekyll-redirect-from kramdown rdiscount rouge

sudo docker build -t local/nginx-jekyll-blog .

You can use this image if you want to pass in folder containing a jekyll already processed blog

sudo docker run --name blog --rm -v /home/myblog/_site:/srv/www/_site  -p 4000:80 local/nginx-jekyll-blog

Another option would be to pass blog main folder and execute jekyll build && nginx can create your own Dockerfile and automatically build/deploy a site

FROM sesteva/nginx-jekyll-blog

## Build and move to nginx
    cd /tmp && \
    git clone blog && \
    cd blog && \
    jekyll build && \
    mv /tmp/blog/_site /srv/www
Docker Pull Command
Source Repository

Comments (0)