site-deploy/Dockerfile
2018-06-03 22:30:33 +02: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