varsshancoder commited on
Commit
2bb586d
·
verified ·
1 Parent(s): 942c51e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -3,8 +3,12 @@ FROM python:3.10-slim
3
  WORKDIR /app
4
 
5
  COPY requirements.txt .
6
- RUN pip install --no-cache-dir -r requirements.txt
 
 
 
7
 
8
  COPY app.py .
9
 
10
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
3
  WORKDIR /app
4
 
5
  COPY requirements.txt .
6
+
7
+ RUN pip install --no-cache-dir \
8
+ --extra-index-url https://download.pytorch.org/whl/cpu \
9
+ -r requirements.txt
10
 
11
  COPY app.py .
12
 
13
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
14
+