Spaces:
Sleeping
Sleeping
kabudadada
Fix dependency conflicts by removing version constraints and using pip instead of conda
9d25df1 | FROM python:3.11 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /app | |
| # Copy application files | |
| COPY --chown=user . /app | |
| ENV PYTHONPATH=/app/Foam-Agent/source:$PYTHONPATH | |
| # Install dependencies using pip | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir \ | |
| fastapi \ | |
| uvicorn[standard] \ | |
| fastmcp \ | |
| pydantic \ | |
| python-dotenv \ | |
| faiss-cpu \ | |
| pyyaml \ | |
| requests \ | |
| numpy \ | |
| langchain \ | |
| langchain-core \ | |
| langchain-openai \ | |
| langchain-community \ | |
| langchain-aws \ | |
| langchain-anthropic \ | |
| langchain-ollama \ | |
| langchain-text-splitters \ | |
| langchain-experimental \ | |
| langgraph \ | |
| langgraph-checkpoint \ | |
| langgraph-sdk \ | |
| langserve \ | |
| langsmith \ | |
| openai \ | |
| anthropic \ | |
| boto3 \ | |
| botocore \ | |
| httpx \ | |
| httpcore \ | |
| aiohttp \ | |
| aiohappyeyeballs \ | |
| aiosignal \ | |
| pandas \ | |
| scikit-learn \ | |
| matplotlib \ | |
| seaborn \ | |
| click \ | |
| tqdm \ | |
| tenacity \ | |
| tiktoken \ | |
| orjson \ | |
| msgpack \ | |
| zstandard \ | |
| sqlalchemy \ | |
| marshmallow \ | |
| gitingest | |
| EXPOSE 7860 | |
| ENV MCP_TRANSPORT=http | |
| ENV MCP_PORT=7860 | |
| CMD ["python", "Foam-Agent/mcp_output/start_mcp.py"] | |