Spaces:
Runtime error
Runtime error
Commit History
-
fix(deploy): create real user for uid 1000 so initdb works
BIM Query Deploy +1: Claude Opus 4.7 (1M context)HF Spaces enforce a non-root runtime as uid 1000, but the base image has no named user with that uid. Postgres initdb does getpwuid(geteuid()) and fails with 'could not look up effective user ID 1000' when the lookup returns nothing. Add explicit groupadd + useradd for a 'bim' user pinned to uid 1000, chown all writeable paths to it, set HOME=/home/bim, and switch the final USER directive from numeric 1000 to the named user. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>e19c339 -
deploy: initial BIM Query API on Hugging Face Spaces
BIM Query Deploy +1: Claude Opus 4.7 (1M context)Containerised FastAPI + Celery worker/beat behind supervisord, with Postgres 15 + pgvector running in-container (started by entrypoint.sh, data ephemeral in /tmp/pgdata). External managed services configured via Space secrets: - Upstash Redis (broker + L2 cache) - Cloudflare R2 (S3-compatible IFC storage) - Groq (LLM intent classification) - Supabase (JWT verification only — auth happens in the frontend) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>e6be672