Praveen Kumar commited on
Commit
58caeb4
·
1 Parent(s): e1317bf

Fix: install spacy model directly via pip

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -10,7 +10,7 @@ COPY requirements.txt .
10
  RUN pip install --no-cache-dir --upgrade pip && \
11
  pip install --no-cache-dir -r requirements.txt
12
 
13
- RUN python -m spacy download en_core_web_sm
14
 
15
  COPY src/ ./src/
16
 
 
10
  RUN pip install --no-cache-dir --upgrade pip && \
11
  pip install --no-cache-dir -r requirements.txt
12
 
13
+ RUN pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl
14
 
15
  COPY src/ ./src/
16