Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM nvidia/cuda:12.
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
@@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
|
|
12 |
COPY . /code/
|
13 |
|
14 |
# Install PyTorch with CUDA support - updated to match requirements.txt
|
15 |
-
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/
|
16 |
|
17 |
# Install their requirements
|
18 |
RUN pip3 install -r requirements.txt
|
|
|
1 |
+
FROM nvidia/cuda:12.1.0-cudnn8-runtime-ubuntu22.04
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
12 |
COPY . /code/
|
13 |
|
14 |
# Install PyTorch with CUDA support - updated to match requirements.txt
|
15 |
+
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
|
16 |
|
17 |
# Install their requirements
|
18 |
RUN pip3 install -r requirements.txt
|