12 lines
305 B
Docker
12 lines
305 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 joseluisq/static-web-server:2
|
|
COPY config.toml /config.toml
|
|
COPY --from=builder /docs/site /public
|
|
ENV SWS_CONFIG_FILE=/config.toml
|
|
EXPOSE 8080 |