jashp2323 commited on
Commit
9a379fa
·
1 Parent(s): 1dbde56

chore: fix pip install command using extra-index-url for PyTorch

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -18,7 +18,7 @@ RUN useradd -m -u 1000 user
18
 
19
  # Install Python dependencies as root
20
  COPY requirements.txt .
21
- RUN pip install --no-cache-dir "torch>=2.6.0" --index-url https://download.pytorch.org/whl/cpu
22
  RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  # Copy application files and change ownership to the non-root user
 
18
 
19
  # Install Python dependencies as root
20
  COPY requirements.txt .
21
+ RUN pip install --no-cache-dir "torch>=2.6.0" --extra-index-url https://download.pytorch.org/whl/cpu
22
  RUN pip install --no-cache-dir -r requirements.txt
23
 
24
  # Copy application files and change ownership to the non-root user