docs/Dockerfile
Astra Logical cef313cb2d
Some checks are pending
Build and Publish Docs / build-and-push (push) Waiting to run
No cache dir pip in Dockerfile
2026-07-28 16:59:29 -04:00

11 lines
234 B
Docker

# Build Stage
FROM python:3.11-alpine AS builder
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
RUN mkdocs build
# Serve Stage
FROM nginx:alpine
COPY --from=builder /app/site /usr/share/nginx/html
EXPOSE 80