FROM jekyll/jekyll as build WORKDIR /srv/jekyll COPY . /srv/jekyll RUN jekyll build --trace && cp -a _site/ /tmp/site FROM nginx COPY --from=build /tmp/site /usr/share/nginx/html