wiki/Dockerfile
Bryan Zuelly e80ac9785b
All checks were successful
mkdocs build / build (push) Successful in 1m22s
added cairo to Dockerfile to fix preview issue
2024-10-02 23:04:59 -04:00

16 lines
304 B
Docker

FROM rockylinux:9
RUN dnf update -y &&\
dnf install -y git python3-pip cairo &&\
dnf clean all
# bind volume $CWD > /wiki exists in docker-compose.yml
RUN mkdir /wiki
COPY requirements.txt /wiki
WORKDIR /wiki
RUN pip3 install -r requirements.txt
EXPOSE 8000
CMD mkdocs serve -a 0.0.0.0:8000