adiroyhere commited on
Commit
bda56e1
·
verified ·
1 Parent(s): 7b1583d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -11,8 +11,8 @@ COPY requirements.txt .
11
 
12
  # Install any needed packages specified in requirements.txt
13
  # Using --no-cache-dir to reduce image size
14
- # Specifying a CPU-only version of PyTorch to significantly reduce image size
15
- RUN pip install --no-cache-dir -r requirements.txt --index-url https://download.pytorch.org/whl/cpu
16
 
17
  # Copy the rest of your application's code into the container
18
  # This includes app.py, your trained model (.pth), and the scaler (.pkl)
 
11
 
12
  # Install any needed packages specified in requirements.txt
13
  # Using --no-cache-dir to reduce image size
14
+ # Installs packages from the standard PyPI and also looks in the PyTorch index for torch
15
+ RUN pip install --no-cache-dir -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cpu
16
 
17
  # Copy the rest of your application's code into the container
18
  # This includes app.py, your trained model (.pth), and the scaler (.pkl)