# Educational image; record/pin the base digest for your reproducible build.
FROM python:3.12-slim
RUN mkdir /site && python -c "from pathlib import Path; Path('/site/index.html').write_text('kaas-demo v1\n', encoding='utf-8')"
WORKDIR /site
USER 10001:10001
EXPOSE 8080
CMD ["python", "-m", "http.server", "8080", "--bind", "0.0.0.0"]
