ChintanSatva commited on
Commit
902f4d9
·
verified ·
1 Parent(s): b3f1068

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -31,11 +31,9 @@ WORKDIR /app
31
  # Copy requirements first for better caching
32
  COPY requirements.txt .
33
 
34
- # Install PyTorch CPU version first
35
- RUN pip3 install --no-cache-dir torch==2.4.0 --index-url https://download.pytorch.org/whl/cpu
36
-
37
- # Install other Python dependencies
38
- RUN pip3 install --no-cache-dir -r requirements.txt
39
 
40
  # Copy application code
41
  COPY app.py .
 
31
  # Copy requirements first for better caching
32
  COPY requirements.txt .
33
 
34
+ # Install Python dependencies
35
+ RUN pip3 install --no-cache-dir --upgrade pip && \
36
+ pip3 install --no-cache-dir -r requirements.txt
 
 
37
 
38
  # Copy application code
39
  COPY app.py .