Alstears commited on
Commit
f0b9c26
·
verified ·
1 Parent(s): ec2e6d5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -15,8 +15,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
15
  WORKDIR /app
16
 
17
  COPY requirements.txt .
 
18
  RUN pip install --upgrade pip setuptools wheel && \
19
- pip install -r requirements.txt
 
 
 
20
 
21
  COPY . .
22
 
 
15
  WORKDIR /app
16
 
17
  COPY requirements.txt .
18
+
19
  RUN pip install --upgrade pip setuptools wheel && \
20
+ pip install --no-cache-dir \
21
+ torch==2.3.1 torchaudio==2.3.1 \
22
+ --index-url https://download.pytorch.org/whl/cpu && \
23
+ pip install --no-cache-dir -r requirements.txt
24
 
25
  COPY . .
26