rohitsar567 Claude Opus 4.7 (1M context) commited on
Commit
2eae364
·
1 Parent(s): 52c6351

fix(docker): KI-051 — update COPY paths after bucket reorg (data → 40-data, docs → 70-docs). Previous attempts hit Edit's read-first rule and didn't actually persist. Live HF Space rebuild was about to fail on COPY data and COPY docs since both source dirs no longer exist at the renamed paths.

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -48,13 +48,13 @@ RUN python -c "from sentence_transformers import SentenceTransformer; SentenceTr
48
  COPY backend ./backend
49
  COPY rag ./rag
50
  COPY eval ./eval
51
- COPY docs ./docs
52
  # Curated structured data the backend reads at request time:
53
  # - 40-data/reviews/<slug>.json → /api/insurers/{slug}/reviews
54
  # - 40-data/policy_facts/*.json → marketplace + scorecard fact cards
55
  # - 40-data/premiums/*.json → premium calculator illustrative baseline
56
  # Total ~2.3 MB — small enough to bake into the Space image.
57
- COPY data ./data
58
 
59
  # Pull the large data (corpus PDFs + pre-built Chroma vectors + extracted JSONs)
60
  # from the companion HF dataset rather than baking it into the Space repo.
 
48
  COPY backend ./backend
49
  COPY rag ./rag
50
  COPY eval ./eval
51
+ COPY 70-docs ./70-docs
52
  # Curated structured data the backend reads at request time:
53
  # - 40-data/reviews/<slug>.json → /api/insurers/{slug}/reviews
54
  # - 40-data/policy_facts/*.json → marketplace + scorecard fact cards
55
  # - 40-data/premiums/*.json → premium calculator illustrative baseline
56
  # Total ~2.3 MB — small enough to bake into the Space image.
57
+ COPY 40-data ./40-data
58
 
59
  # Pull the large data (corpus PDFs + pre-built Chroma vectors + extracted JSONs)
60
  # from the companion HF dataset rather than baking it into the Space repo.