Merge branch 'main' into dev-v0.7.x

This commit is contained in:
Alpha Nerd 2026-03-11 09:47:13 +01:00 committed by GitHub
commit 7468bfffbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,13 +13,14 @@ ARG SEMANTIC_CACHE=false
ENV HF_HOME=/app/data/hf_cache
# Install SQLite
RUN apt-get update && apt-get install -y --no-install-recommends sqlite3 \
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sqlite3 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt
RUN pip install --root-user-action=ignore --no-cache-dir --upgrade pip \
&& pip install --root-user-action=ignore --no-cache-dir -r requirements.txt
# Semantic cache deps — only installed when SEMANTIC_CACHE=true
# CPU-only torch must be installed before sentence-transformers to avoid