Spaces:
Sleeping
Sleeping
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install dependencies - including uvicorn which FastMCP needs for SSE | |
| RUN pip install fastmcp uvicorn aiosmtplib | |
| # Copy everything (including your 'resource' folder) | |
| COPY . . | |
| # Expose the HF default port | |
| EXPOSE 7860 | |
| # Run the server | |
| # We use uvicorn because FastMCP SSE transport is an ASGI app | |
| # CMD ["python", "server.py"] | |
| CMD ["python", "escalation_server.py"] |