Added a lightweight, self-hosted documentation viewer that dinamically serves Markdown files as a reactive HTML site with zero build steps. Features included in this initial release: - Custom Python HTTPServer (`main.py`) for dynamic Markdown-to-HTML rendering - Responsive UI with dark/light mode togles, breadcrumbs, and search filtering - Built-in support for Mermaid.js diagrams, Prism.js syntax highlighting, and GitHub-style alert callouts - Auto-generated sidebar navigation and directory index pages - Updated `appctl` to support the new `docs` service, and mappings to env-vars for easy host-directory mounting - Traefik-ready `docker-compose.tml` for seamless integration into the proxy network
18 lines
251 B
Docker
18 lines
251 B
Docker
FROM python:3.11-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir markdown
|
|
|
|
# Copy application files
|
|
COPY app/ /app/
|
|
|
|
# Default Environment Variables
|
|
ENV PORT=8000
|
|
ENV DOCS_ROOT=/docs
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["python", "main.py"]
|