fix(api): package /content into the image so npc content resolves

This commit is contained in:
2026-07-10 12:30:36 -05:00
parent a2c654c047
commit 9d2f93bbf2
3 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
.claude
client
content
!content
docs/*
!docs/schemas
**/__pycache__

View File

@@ -17,6 +17,7 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY api/app ./app
COPY api/prompts ./prompts
COPY docs/schemas ./schemas
COPY content ./content
# Run as non-root.
RUN useradd --create-home --uid 1000 appuser

View File

@@ -26,5 +26,6 @@ services:
- ./api/app:/app/app:ro
- ./api/prompts:/app/prompts:ro
- ./docs/schemas:/app/schemas:ro
- ./content:/app/content:ro
command: >
uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload