2021-06-20 22:55:14 +02:00
|
|
|
FROM squidfunk/mkdocs-material as build
|
2021-06-20 21:18:05 +02:00
|
|
|
|
2021-04-23 00:54:02 +02:00
|
|
|
COPY docs/ /docs/docs
|
2021-06-20 22:55:14 +02:00
|
|
|
COPY mkdocs.yml /docs
|
2021-06-20 21:18:05 +02:00
|
|
|
|
2021-06-20 22:55:14 +02:00
|
|
|
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
|