Download Dockerfile from CPDM/multi-agent-financial-analysis-platform: direct link, hf CLI and curl.
- Browser
- Download file 596 Bytes
-
https://huggingface.co/spaces/CPDM/multi-agent-financial-analysis-platform/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CPDM/multi-agent-financial-analysis-platform/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CPDM/multi-agent-financial-analysis-platform/resolve/main/Dockerfile
596 Bytes
| # Stage 1: Embed Service | |
| FROM cppd86/fineagent:latest AS fineagents | |
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y supervisor --no-install-recommends && rm -rf /var/lib/apt/lists/* | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /app | |
| # COPY ONLY the /app folder from your original images | |
| COPY --from=fineagents /app /app | |
| RUN pip install --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN pip install --no-cache-dir \ | |
| langgraph-checkpoint-sqlite aiosqlite langchain_nvidia_ai_endpoints | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |