MCP Serve

by mark-oori
Verified
# Small python 3.11 docker file FROM python:3.11-slim # Set working directory WORKDIR /app # Set environment variables ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir --upgrade pip && \ pip install --no-cache-dir uv && \ uv pip install --system --no-cache-dir -r requirements.txt # Copy application code COPY . . # Expose port EXPOSE 8005 # Run the application CMD ["python", "main.py"]