vinay0123 commited on
Commit
38dc4d9
·
verified ·
1 Parent(s): 03fc55d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -9,9 +9,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
9
  # Set working directory
10
  WORKDIR /app
11
 
 
 
 
12
  # Copy requirements and install Python dependencies
13
  COPY requirements.txt .
14
- RUN pip install --no-cache-dir -r requirements.txt
15
 
16
  # ✅ Download spaCy language model
17
  RUN python -m spacy download en_core_web_sm
 
9
  # Set working directory
10
  WORKDIR /app
11
 
12
+ # Install blis separately to avoid long build times
13
+ RUN pip install --no-cache-dir blis==0.7.9
14
+
15
  # Copy requirements and install Python dependencies
16
  COPY requirements.txt .
17
+ RUN pip install --no-cache-dir --prefer-binary -r requirements.txt
18
 
19
  # ✅ Download spaCy language model
20
  RUN python -m spacy download en_core_web_sm