racorus commited on
Commit
d15fb1e
·
verified ·
1 Parent(s): d838472

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -40,8 +40,9 @@ RUN chown -R webodmuser:webodmgroup /webodm
40
  # Switch to the new user
41
  USER webodmuser
42
 
43
- # Modify requirements.txt to use a compatible numpy version
44
  RUN sed -i 's/numpy==1.26.2/numpy==1.24.4/' requirements.txt
 
45
 
46
  # Install Python dependencies
47
  RUN pip3 install -r requirements.txt
 
40
  # Switch to the new user
41
  USER webodmuser
42
 
43
+ # Modify requirements.txt to use compatible versions of numpy and scipy
44
  RUN sed -i 's/numpy==1.26.2/numpy==1.24.4/' requirements.txt
45
+ RUN sed -i 's/scipy==1.11.3/scipy==1.10.1/' requirements.txt
46
 
47
  # Install Python dependencies
48
  RUN pip3 install -r requirements.txt