site/Dockerfile

9 lines
198 B
Docker
Raw Normal View History

2017-12-14 21:20:41 +00:00
from jekyll/jekyll as builder
add . /srv/jekyll
run mkdir /site
run whoami
run jekyll build --source /srv/jekyll --destination /tmp
2017-11-17 15:19:44 +00:00
2017-12-14 21:20:41 +00:00
from nginx:alpine
copy --from=builder /tmp /usr/share/nginx/html