documentation/Dockerfile

8 lines
179 B
Docker

FROM squidfunk/mkdocs-material:latest as build
WORKDIR /build
COPY . .
RUN mkdocs build
FROM docker.io/library/nginx:alpine
COPY --from=build /build/site/ /usr/share/nginx/html/