mkdocs/Dockerfile
francesco 0619746c55
All checks were successful
continuous-integration/drone/push Build is passing
Updated building process of dockerimage
2021-06-20 22:55:14 +02:00

13 lines
245 B
Docker

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