We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb1e17e commit 6fa508cCopy full SHA for 6fa508c
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 | sed -E 's/^[sS]pacy(==|>=)//') \
+ 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 || \
0 commit comments