feat: include model
All checks were successful
perso/mcp-maildir/pipeline/head This commit looks good

This commit is contained in:
Julien Cabillot
2026-03-17 17:18:40 -04:00
parent eeae628a1a
commit d5415da5d9

View File

@@ -14,6 +14,9 @@ COPY requirements.txt .
# Install dependencies using buildkit cache
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
# Pre-download the embedding model into the image to avoid runtime downloads
RUN python -c "from fastembed import TextEmbedding; TextEmbedding(model_name='BAAI/bge-small-en-v1.5')"
# Copy the source code
COPY src/ ./src/