15 lines
229 B
Docker
15 lines
229 B
Docker
FROM python:3.11-slim AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
RUN mkdocs build
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["mkdocs", "serve", "--host", "0.0.0.0", "--port", "8000"]
|