docs/Dockerfile

12 lines
234 B
Text
Raw Normal View History

2026-07-26 19:39:27 -04:00
# Build Stage
FROM python:3.11-alpine AS builder
WORKDIR /app
COPY . .
2026-07-28 16:59:29 -04:00
RUN pip install --no-cache-dir -r requirements.txt
2026-07-26 19:39:27 -04:00
RUN mkdocs build
# Serve Stage
FROM nginx:alpine
COPY --from=builder /app/site /usr/share/nginx/html
EXPOSE 80