Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -9,7 +9,10 @@ RUN apt-get update && apt-get install -y \
|
|
9 |
# Copy requirements file
|
10 |
COPY requirements.txt .
|
11 |
|
12 |
-
# Install
|
|
|
|
|
|
|
13 |
RUN pip install --no-cache-dir -r requirements.txt
|
14 |
|
15 |
# Create cache directory with write permissions
|
|
|
9 |
# Copy requirements file
|
10 |
COPY requirements.txt .
|
11 |
|
12 |
+
# Install PyTorch with CPU-specific index
|
13 |
+
RUN pip install --no-cache-dir torch==2.4.0 --index-url https://download.pytorch.org/whl/cpu
|
14 |
+
|
15 |
+
# Install remaining dependencies
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
# Create cache directory with write permissions
|