forked from sig_altarch/wiki
6f6273ed19
- Brushed up README - Added container build files, similar to main Rocky Wiki -Skip G.
16 lines
298 B
Docker
16 lines
298 B
Docker
FROM rockylinux:9
|
|
|
|
RUN dnf update -y &&\
|
|
dnf install -y git python3-pip &&\
|
|
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
|
|
|