FROM squidfunk/mkdocs-material as build COPY docs/ /docs/docs COPY mkdocs.yml /docs WORKDIR /docs RUN mkdocs build #Copy static files to Nginx FROM nginx:alpine COPY --from=build /docs/site /usr/share/nginx/html WORKDIR /usr/share/nginx/html