Skip to content

Commit 6fa508c

Browse files
committed
fix syntax error
1 parent cb1e17e commit 6fa508c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ WORKDIR /app
2626

2727
# Optimize pip and Python installations; install spaCy version matching requirements.txt
2828
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(==|>=)//') \
29+
SPACY_VERSION=$(grep -E '^[sS]pacy(==|>=)' requirements.txt | head -1 | sed -E 's/^[sS]pacy(==|>=)//') && \
3030
if [ -n "$SPACY_VERSION" ]; then \
3131
echo "Found spaCy version $SPACY_VERSION in requirements.txt"; \
3232
pip install --no-cache-dir --only-binary :all: spacy==$SPACY_VERSION || \

0 commit comments

Comments
 (0)