# Root-context job images only need service code, never the webapp or repo data.
*
!background-jobs
!service
service/*
!service/scripts

# Keyword extraction contract, shared with background-jobs/app/llm/client.py.
!service/src/main/inse/news/keyword_extraction.py

# UDE verified-persons job image imports the full service package and one
# institution hierarchy, so these are the only extra paths it needs.
!service/src/main/inse
!service/src/data/hierarchies/I62318514/hierarchy.json

# Data-only folders that do not belong in the job image.
service/scripts/multipliers

**/__pycache__
**/*.pyc
**/.venv
**/.env
**/.env.*
**/out
.git

# Ignore the LLM cache, which can be large and is not needed in the job image.
**/.llm_cache
service/scripts/jobs-image/orgminer_pipeline/
