chandan06 commited on
Commit
2df7bb1
·
1 Parent(s): fdde1dc

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -29,7 +29,8 @@ WORKDIR $HOME/app
29
  # Copy the requirements.txt first to leverage Docker cache
30
  COPY --chown=user requirements.txt $HOME/app/
31
  RUN pip install --no-cache-dir -r requirements.txt
32
- # RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
 
33
 
34
  # Copy the rest of the application's code to the container
35
  COPY --chown=user . $HOME/app
 
29
  # Copy the requirements.txt first to leverage Docker cache
30
  COPY --chown=user requirements.txt $HOME/app/
31
  RUN pip install --no-cache-dir -r requirements.txt
32
+ RUN pip uninstall --y faiss-cpu & pip install faiss-gpu
33
+ RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113
34
 
35
  # Copy the rest of the application's code to the container
36
  COPY --chown=user . $HOME/app