Spaces:
Sleeping
Sleeping
File size: 404 Bytes
d5009cf 95dc020 b3ff5e1 d5009cf 95dc020 d5009cf 86f768d d5009cf 95dc020 b7efaa2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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"] |