Create multistage Dockerfile

This commit is contained in:
Chris Cowley 2024-10-03 16:07:44 +02:00
parent 0b229a48c9
commit 08ba0f0332

View file

@ -1,3 +1,12 @@
FROM docker.io/squidfunk/mkdocs-material
FROM docker.io/squidfunk/mkdocs-material AS build
RUN pip install mkdocs-glightbox
#RUN pip install mkdocs-glightbox
COPY . /docs/
RUN mkdocs build
FROM nginx:latest
COPY --from=build /docs/site/ /usr/share/nginx/html/