main #1

Merged
neil merged 3 commits from skip/fasttrack_wiki:main into main 2023-10-17 16:49:50 +00:00
2 changed files with 27 additions and 0 deletions
Showing only changes of commit 85e1e73ab6 - Show all commits

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
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

12
docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
version: '3.2'
services:
wiki:
volumes:
- type: bind
source: .
target: /wiki
build:
context: .
ports:
- 8000:8000