10 lines
237 B
Docker
10 lines
237 B
Docker
FROM python:3.13-slim AS builder
|
|
WORKDIR /docs
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY . .
|
|
RUN mkdocs build --clean
|
|
|
|
FROM nginx:alpine
|
|
COPY --from=builder /docs/site /usr/share/nginx/html
|
|
EXPOSE 80 |