We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f46c400 commit cb1e17eCopy full SHA for cb1e17e
Dockerfile
@@ -26,7 +26,7 @@ WORKDIR /app
26
27
# Optimize pip and Python installations; install spaCy version matching requirements.txt
28
RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
29
- SPACY_VERSION=$(grep -E '^[sS]pacy==' requirements.txt | head -1 | cut -d'=' -f3) && \
+ SPACY_VERSION=$(grep -E '^[sS]pacy(==|>=)' requirements.txt | head -1 | sed -E 's/^[sS]pacy(==|>=)//') \
30
if [ -n "$SPACY_VERSION" ]; then \
31
echo "Found spaCy version $SPACY_VERSION in requirements.txt"; \
32
pip install --no-cache-dir --only-binary :all: spacy==$SPACY_VERSION || \
requirements.txt
@@ -10,7 +10,7 @@ pyyaml
10
whitenoise
11
daphne
12
textblob
13
-spacy
+spacy>=3.8.2
14
natsort
15
django-environ
16
statistics
0 commit comments