fix(api): package /content into the image so npc content resolves
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
.claude
|
||||
client
|
||||
content
|
||||
!content
|
||||
docs/*
|
||||
!docs/schemas
|
||||
**/__pycache__
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user