SondosM commited on
Commit
cd42aa8
·
verified ·
1 Parent(s): 5f39bad

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -2
Dockerfile CHANGED
@@ -16,9 +16,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
16
 
17
  WORKDIR /app
18
 
 
 
 
 
 
 
19
  COPY requirements.txt .
20
- RUN pip install --no-cache-dir --upgrade pip && \
21
- pip install --no-cache-dir -r requirements.txt
22
 
23
  COPY . .
24
 
 
16
 
17
  WORKDIR /app
18
 
19
+ # Upgrade pip first
20
+ RUN pip install --no-cache-dir --upgrade pip setuptools wheel
21
+
22
+ # Install chumpy separately with no-build-isolation to avoid the pip module bug
23
+ RUN pip install --no-cache-dir --no-build-isolation chumpy==0.70
24
+
25
  COPY requirements.txt .
26
+ RUN pip install --no-cache-dir -r requirements.txt
 
27
 
28
  COPY . .
29