quantumos commited on
Commit
08f27eb
·
verified ·
1 Parent(s): a3243bd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -13,8 +13,8 @@ WORKDIR /app
13
  COPY requirements.txt .
14
 
15
  # Copy the wheel files for insightface and dlib
16
- COPY path/to/insightface-0.7.3-cp310-cp310-win_amd64.whl /app/
17
- COPY path/to/dlib-19.22.99-cp310-cp310-win_amd64.whl /app/
18
 
19
  # Install pip and upgrade it
20
  RUN pip install --upgrade pip
@@ -27,7 +27,7 @@ RUN pip install /app/dlib-19.22.99-cp310-cp310-win_amd64.whl
27
  RUN pip install -r requirements.txt
28
 
29
  # Install torch, torchvision, and torchaudio with the specified extra index URL
30
- RUN pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 torchaudio==2.0.1+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
31
 
32
  # Copy the rest of the application code
33
  COPY . .
 
13
  COPY requirements.txt .
14
 
15
  # Copy the wheel files for insightface and dlib
16
+ COPY insightface-0.7.3-cp310-cp310-win_amd64.whl /app/
17
+ COPY dlib-19.22.99-cp310-cp310-win_amd64.whl /app/
18
 
19
  # Install pip and upgrade it
20
  RUN pip install --upgrade pip
 
27
  RUN pip install -r requirements.txt
28
 
29
  # Install torch, torchvision, and torchaudio with the specified extra index URL
30
+ RUN pip install torch==2.0.1+cu118 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
31
 
32
  # Copy the rest of the application code
33
  COPY . .