mcp_server_test / Dockerfile
prthm11's picture
Update Dockerfile
b3ff5e1 verified
raw
history blame contribute delete
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"]