Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -8,10 +8,9 @@ ENV SETUPTOOLS_SCM_PRETEND_VERSION_FOR_QLIB="0.9.0"
|
|
| 8 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 9 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 10 |
|
| 11 |
-
|
| 12 |
-
RUN python -m pip install cython packaging tables matplotlib statsmodels
|
| 13 |
-
RUN python -m pip install pybind11 cvxpy
|
| 14 |
COPY --chown=user . /app
|
|
|
|
|
|
|
| 15 |
ENV PYTHONPATH=/app/qlib/source:$PYTHONPATH
|
| 16 |
EXPOSE 7860
|
| 17 |
ENV MCP_TRANSPORT=http
|
|
|
|
| 8 |
COPY --chown=user ./requirements.txt requirements.txt
|
| 9 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 10 |
|
|
|
|
|
|
|
|
|
|
| 11 |
COPY --chown=user . /app
|
| 12 |
+
COPY fix_qlib_version.py /tmp/
|
| 13 |
+
RUN python /tmp/fix_qlib_version.py
|
| 14 |
ENV PYTHONPATH=/app/qlib/source:$PYTHONPATH
|
| 15 |
EXPOSE 7860
|
| 16 |
ENV MCP_TRANSPORT=http
|