mirror of
https://github.com/imgfloat/docs.git
synced 2026-11-05 07:24:08 +00:00
Docs template
This commit is contained in:
commit
92910cede0
26 files changed
+476
No files matched your search
+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