kokluch's picture
feat: MCP server with FastMCP 2.0, Docker, and public resources
3094113
raw
history blame contribute delete
321 Bytes
# Use official Python image
FROM python:3.11-slim
# Set work directory
WORKDIR /app
# Install dependencies
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY app.py ./
# Expose the default MCP port (SSE)
EXPOSE 7860
# Run the MCP server
CMD ["python", "app.py"]