rasmodev commited on
Commit
d321a9e
·
verified ·
1 Parent(s): f89a2ed

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -12,7 +12,12 @@ RUN useradd -m -u 1000 appuser
12
  WORKDIR /app
13
 
14
  COPY requirements.txt .
15
- RUN pip install --no-cache-dir --upgrade "pip==24.3.1" && \
 
 
 
 
 
16
  pip install --no-cache-dir -r requirements.txt
17
 
18
  COPY . .
 
12
  WORKDIR /app
13
 
14
  COPY requirements.txt .
15
+
16
+ RUN pip install --no-cache-dir --upgrade pip && \
17
+ pip install --no-cache-dir \
18
+ torch==2.2.2+cpu \
19
+ torchvision==0.17.2+cpu \
20
+ --extra-index-url https://download.pytorch.org/whl/cpu && \
21
  pip install --no-cache-dir -r requirements.txt
22
 
23
  COPY . .