mirror of
https://github.com/imgfloat/docs.git
synced 2026-06-22 23:51:22 +00:00
Docs template
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
FROM python:3.12-slim AS builder
|
||||
|
||||
WORKDIR /docs
|
||||
COPY pyproject.toml ./
|
||||
RUN pip install .
|
||||
COPY mkdocs.yml .
|
||||
COPY docs/ docs/
|
||||
RUN mkdocs build --clean
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
RUN rm -rf /usr/share/nginx/html/*
|
||||
COPY --from=builder /docs/site /usr/share/nginx/html
|
||||
Reference in New Issue
Block a user