docs/Dockerfile
Florian du Garage Num 26ee268fa0 deploy with Dockerfile
2024-01-04 20:50:11 +01:00

16 lines
281 B
Docker

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 -r requirements.txt
RUN mkdocs build
CMD ["python", "-m", "http.server", "--directory", "public", "5000"]