Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MKDOCS_PORT=8000
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM python:3-slim
COPY ./. /docs/
WORKDIR /docs/
RUN pip install -r requirements.txt
CMD ["mkdocs", "serve", "--dev-addr", "0.0.0.0:8000", "--dirty"]
16 changes: 16 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
services:
mkdocs:
build: .
environment:
- MKDOCS_PORT=8000
ports:
- "${MKDOCS_PORT}:8000"
volumes:
- .:/docs
develop:
watch:
-
action: restart
path: ./docs
target: /docs
initial_sync: true
Loading