FROM git.xeserv.us/saved/xena/pandoc AS pandoc WORKDIR /tulpa/nomicon COPY . . RUN cd src && ./build.sh FROM peaceiris/mdbook AS mdbook WORKDIR /tulpa/nomicon COPY . . RUN mdbook build FROM nginx:alpine COPY --from=pandoc /tulpa/nomicon/book /usr/share/nginx/html COPY --from=mdbook /tulpa/nomicon/book /usr/share/nginx/html