site-deploy/Dockerfile

8 lines
207 B
Docker

from jekyll/jekyll as builder
add web /srv/jekyll
run bundle exec jekyll build --source /srv/jekyll --destination /tmp
from nginx:alpine
copy --from=builder /tmp /usr/share/nginx/html
copy nginx /etc/nginx