Jaman commited on
Commit
6d23a76
·
verified ·
1 Parent(s): 600a50e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -20,8 +20,8 @@ ADD . /app
20
  # Update pip to the latest version
21
  RUN pip install --upgrade pip
22
 
23
- # Install numpy first to avoid metadata generation error
24
- RUN pip install --no-cache-dir numpy
25
 
26
  # Install any needed packages specified in requirements.txt
27
  RUN pip install --no-cache-dir -r requirements.txt
 
20
  # Update pip to the latest version
21
  RUN pip install --upgrade pip
22
 
23
+ # Install a specific version of numpy that works with Python 3.10
24
+ RUN pip install --no-cache-dir numpy==1.21.2
25
 
26
  # Install any needed packages specified in requirements.txt
27
  RUN pip install --no-cache-dir -r requirements.txt