1
0
Files

24 lines
908 B
Docker

FROM zensical/zensical:latest AS builder
ENV PYTHONPATH=/docs
COPY . /docs
RUN zensical build --clean
FROM nginx:alpine AS boilerplate-docs
# LABEL org.opencontainers.image.revision="c76960ef08be04f397b72702eca4166c7b783176"
# LABEL org.opencontainers.image.description="Documentation for our services and products"
# LABEL org.opencontainers.image.url="https://example.com"
# LABEL org.opencontainers.image.vendor="Boilerplate"
# LABEL org.opencontainers.image.documentation="https://example.com"
# LABEL org.opencontainers.image.version="v0.0.46"
# LABEL org.opencontainers.image.created="2026-06-21T18:47:29.228Z"
# LABEL org.opencontainers.image.licenses="MIT"
# LABEL org.opencontainers.image.title="BoilerplateDocs"
# LABEL org.opencontainers.image.source=""
COPY --from=builder /docs/site /usr/share/nginx/html
WORKDIR /usr/share/nginx/html
USER root
EXPOSE 80
CMD [ "nginx", "-g", "daemon off;" ]