Update Dockerfile
Browse files- 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
|
| 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
|