quantumos commited on
Commit
bb868f6
·
verified ·
1 Parent(s): 42cf670

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -12,13 +12,13 @@ WORKDIR /app
12
  # Copy the requirements file
13
  COPY requirements.txt .
14
 
15
- # Install Python dependencies
16
  RUN pip install --upgrade pip
17
 
18
  # Install torch, torchvision, and torchaudio with the specified extra index URL
19
  RUN pip install torch==2.0.1+cu118 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
20
 
21
- # Install the rest of the dependencies
22
  RUN pip install -r requirements.txt
23
 
24
  # Copy the rest of the application code
@@ -27,3 +27,5 @@ COPY . .
27
  # Command to run the app
28
  CMD ["python", "app.py"]
29
 
 
 
 
12
  # Copy the requirements file
13
  COPY requirements.txt .
14
 
15
+ # Install pip and upgrade it
16
  RUN pip install --upgrade pip
17
 
18
  # Install torch, torchvision, and torchaudio with the specified extra index URL
19
  RUN pip install torch==2.0.1+cu118 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
20
 
21
+ # Install the rest of the dependencies from requirements.txt
22
  RUN pip install -r requirements.txt
23
 
24
  # Copy the rest of the application code
 
27
  # Command to run the app
28
  CMD ["python", "app.py"]
29
 
30
+
31
+