-
Xiao Gui authored8b7c673b
Dockerfile-userdoc 336 B
FROM python:3.7 as builder
COPY . /voluba
WORKDIR /voluba
RUN pip install mkdocs mkdocs-material mdx_truly_sane_lists
RUN mkdocs build
FROM nginx:alpine
COPY --from=builder /voluba/site /usr/share/nginx/html
COPY --from=builder /voluba/user_docs/nginx_conf/nginx.conf /etc/nginx/nginx.conf
ENTRYPOINT ["nginx", "-g", "daemon off;"]