- Dockerfile.hf: python:3.12-slim base, system deps for RDKit /
nibabel / MNE, pip install requirements.txt, BUILD-TIME train of
the BBB model artifact (RUN python -m src.models.bbb_model) so the
first /predict/bbb call is instant on cold start.
- ENV defaults: DEPLOY_ENV=hf_spaces, NEUROBRIDGE_DISABLE_MLFLOW=1,
NEUROBRIDGE_DISABLE_LLM=1 (jury can opt back into LLM by setting
OPENROUTER_API_KEY in HF Space secrets and unsetting the disable
flag).
- supervisord.conf launches FastAPI on :8000 and Streamlit on :7860
in the same container; Streamlit exposes the HF public URL.
- .dockerignore trims build context (data/processed, mlruns, .venv,
tests/ except fixtures, docs).
- 2 new smoke tests: Dockerfile exists and contains expected stages.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>