Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -5,9 +5,11 @@ WORKDIR /app
|
|
5 |
# Get dependencies
|
6 |
COPY requirements.txt .
|
7 |
|
8 |
-
RUN conda install -y
|
9 |
-
|
10 |
-
|
|
|
|
|
11 |
conda clean -afy
|
12 |
|
13 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
5 |
# Get dependencies
|
6 |
COPY requirements.txt .
|
7 |
|
8 |
+
RUN conda install -y \
|
9 |
+
-c pytorch -c nvidia \
|
10 |
+
python=3.10 \
|
11 |
+
pytorch torchvision torchaudio pytorch-cuda=12.1 \
|
12 |
+
faiss-gpu=1.9.0 && \
|
13 |
conda clean -afy
|
14 |
|
15 |
RUN pip install --no-cache-dir -r requirements.txt
|