Spaces:
Sleeping
Sleeping
Download Dockerfile from prthm11/mcp_server_test: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/prthm11/mcp_server_test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/prthm11/mcp_server_test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/prthm11/mcp_server_test/resolve/main/Dockerfile
404 Bytes
| 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"] |