Update Dockerfile
Browse files- 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 |
-
|
|
|
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
|