chaospott-site/docker/Dockerfile
2017-12-14 22:20:41 +01:00

9 lines
198 B
Docker

from jekyll/jekyll as builder
add . /srv/jekyll
run mkdir /site
run whoami
run jekyll build --source /srv/jekyll --destination /tmp
from nginx:alpine
copy --from=builder /tmp /usr/share/nginx/html