Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
|
@@ -18,10 +18,13 @@ WORKDIR /app
|
|
| 18 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 19 |
|
| 20 |
# Install build dependencies first with compatible versions
|
| 21 |
-
RUN pip install --no-cache-dir "setuptools<60" "numpy
|
| 22 |
|
| 23 |
-
# Install
|
| 24 |
-
RUN pip install --no-cache-dir --
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
COPY --chown=user . /app
|
| 27 |
ENV MCP_TRANSPORT=http
|
|
|
|
| 18 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 19 |
|
| 20 |
# Install build dependencies first with compatible versions
|
| 21 |
+
RUN pip install --no-cache-dir "setuptools<60" "numpy==1.21.6" "Cython<3.0" "scipy>=1.7.0"
|
| 22 |
|
| 23 |
+
# Install scikit-learn without build isolation to use our numpy 1.21.6
|
| 24 |
+
RUN pip install --no-cache-dir --no-build-isolation "scikit-learn>=0.24.0,<0.25.0"
|
| 25 |
+
|
| 26 |
+
# Install remaining requirements
|
| 27 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
| 28 |
|
| 29 |
COPY --chown=user . /app
|
| 30 |
ENV MCP_TRANSPORT=http
|