# Serve this documentation bundle inside your own network.
# Build from the bundle root:
#   docker build -f docker/Dockerfile -t clika-docs .
#   docker run --rm -p 8080:3000 clika-docs      ->  http://localhost:8080
# (the container listens on 3000; pick any host port on the left of -p)
#
# Official Debian base + the distribution's python3; the server is the
# bundled serve.py (Python standard library only, no third-party code).
FROM debian:bookworm-slim

RUN apt-get update \
    && apt-get install -y --no-install-recommends python3 \
    && rm -rf /var/lib/apt/lists/*

WORKDIR /docs
COPY . /docs

EXPOSE 3000
USER nobody
CMD ["python3", "serve.py", "--host", "0.0.0.0", "--port", "3000"]
