docs/Dockerfile.bak
2024-09-28 18:00:16 +01:00

17 lines
311 B
Docker
Executable File

FROM python:3.11-slim
WORKDIR /app
COPY . /app
RUN apt-get update && \
apt-get install -y git && \
git config --global --add safe.directory /app
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN mkdocs build
CMD ["python", "-m", "http.server", "--directory", "public", "5000"]