12 lines
215 B
Text
12 lines
215 B
Text
|
|
# Build Stage
|
||
|
|
FROM python:3.11-alpine AS builder
|
||
|
|
RUN pip install mkdocs-material
|
||
|
|
WORKDIR /app
|
||
|
|
COPY . .
|
||
|
|
RUN mkdocs build
|
||
|
|
|
||
|
|
# Serve Stage
|
||
|
|
FROM nginx:alpine
|
||
|
|
COPY --from=builder /app/site /usr/share/nginx/html
|
||
|
|
EXPOSE 80
|