14 lines
327 B
Docker
14 lines
327 B
Docker
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
|