# Use official Python image
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Install system dependencies (if any needed, e.g., for build)
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Copy project files
COPY . .
# Install Python dependencies
RUN pip install --upgrade pip \
&& pip install .
# Expose FastMCP default port
#EXPOSE 8000
# Set environment variables (optional, e.g., for production)
ENV PYTHONUNBUFFERED=1
# Run the FastMCP app
CMD ["fastmcp", "run", "main.py"]