ChintanSatva commited on
Commit
6bdcfba
·
verified ·
1 Parent(s): 9acdfd7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 Python dependencies
 
 
 
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