fix: spaCy 3.8.13, remove pip cache purge conflict with PIP_NO_CACHE_DIR

- Enable spaCy 3.8.13 (3.8.14 was not on PyPI)
- Remove `pip cache purge` — conflicts with PIP_NO_CACHE_DIR=1
- Model en_core_web_sm auto-downloads at runtime

Co-Authored-By: RuFlo <ruv@ruv.net>
pull/2551/head
Hong Phuc 4 weeks ago
parent 89b7909ac9
commit 6c37d42e43

@ -14,11 +14,9 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./
# Pin pip for reproducible builds: --upgrade pip==25.x
RUN pip install --upgrade pip \
&& pip install -r requirements.txt \
&& pip install pytest \
&& pip cache purge
&& pip install pytest
RUN python -m playwright install --with-deps chromium

@ -16,7 +16,7 @@ clean-text==0.7.1
unidecode==1.4.0
torch==2.11.0
transformers==4.57.6
spacy==3.8.14
spacy==3.8.13
av>=14.0
elevenlabs==2.44.0
yt-dlp==2026.3.17

Loading…
Cancel
Save