Spaces:
Runtime error
Runtime error
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy requirements and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application files | |
| COPY edgar_client.py . | |
| COPY financial_analyzer.py . | |
| COPY mcp_server.py . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Set environment variable | |
| ENV PYTHONUNBUFFERED=1 | |
| # Run the MCP server | |
| CMD ["uvicorn", "mcp_server:app", "--host", "0.0.0.0", "--port", "7860"] | |