This repository contains an nginx Dockerfile and the Minimal Jekyll theme for GitHub Pages, to be served by self hosting it with Docker.
git clone https://github.com/ekinhbayar/dockerized-minimal.git
_config.yml
docker run --rm \
-v "$(pwd):/src" \
-w /src \
ruby:2.3 \
sh -c 'bundle install \
--path vendor/bundle \
&& exec jekyll build --watch'
/web
then build the docker image:docker build -t blog-title .
docker run -d \
-p 80:80 \
-v "$(pwd)/web:/usr/share/nginx/html" \
blog-title