Add nltk_data volume to persist NLTK resources across restarts

This commit is contained in:
keboss-m 2026-06-01 12:13:36 +03:00
parent 24154665b6
commit b786f84e7c

View File

@ -16,6 +16,7 @@ services:
- ./backend:/app/backend:ro
- ./src:/app/src:ro
- ./scripts:/app/scripts:ro
- nltk_data:/root/nltk_data
restart: unless-stopped
entrypoint: ["uvicorn"]
command: ["backend.main:app", "--host", "0.0.0.0", "--port", "8000"]
@ -30,3 +31,4 @@ volumes:
uploads:
processed:
tmp:
nltk_data: