feat: include model
All checks were successful
perso/mcp-maildir/pipeline/head This commit looks good
All checks were successful
perso/mcp-maildir/pipeline/head This commit looks good
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user