You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docs/Dockerfile

17 lines
311 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
9 months ago
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
RUN mkdocs build
CMD ["python", "-m", "http.server", "--directory", "public", "5000"]