tulpanomicon/Dockerfile
Xe Iaso d52f92f1fd
automate builds
Signed-off-by: Xe Iaso <me@xeiaso.net>
2025-01-12 23:38:31 -05:00

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