# Veridian.ai / LQIS — live demo Space (FastAPI + static site) FROM python:3.11-slim ENV PYTHONUNBUFFERED=1 \ HF_HOME=/tmp/hf \ TRANSFORMERS_CACHE=/tmp/hf \ HF_HUB_DISABLE_TELEMETRY=1 WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # Bake the trained weights into the image from the (public) model repo. RUN python -c "from huggingface_hub import snapshot_download; \ snapshot_download('sumitnewold/veridian-lqis', local_dir='/app', allow_patterns=['models/**'])" EXPOSE 7860 CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]