sksameermujahid commited on
Commit
8185892
·
verified ·
1 Parent(s): c578118

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -30,7 +30,9 @@ COPY requirements.txt .
30
 
31
  # Install Python dependencies
32
  RUN pip install --no-cache-dir --upgrade pip && \
33
- pip install --no-cache-dir -r requirements.txt
 
 
34
 
35
  # Copy the rest of the application
36
  COPY . .
 
30
 
31
  # Install Python dependencies
32
  RUN pip install --no-cache-dir --upgrade pip && \
33
+ pip install --no-cache-dir -r requirements.txt && \
34
+ pip uninstall -y sentence-transformers huggingface-hub && \
35
+ pip install --no-cache-dir sentence-transformers==2.2.0 huggingface-hub==0.16.4
36
 
37
  # Copy the rest of the application
38
  COPY . .