# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM python:3.11-slim

# set working directory
WORKDIR /app

# install build dependencies
RUN apt-get update && apt-get install -y gcc && rm -rf /var/lib/apt/lists/*

# copy project files
COPY . /app

# upgrade pip
RUN pip install --no-cache-dir --upgrade pip

# install project dependencies using hatchling build system
RUN pip install --no-cache-dir -e .

# expose port if using SSE transport (optional)
EXPOSE 5173

# set environment variables (these should be overridden at runtime)
ENV OPENAI_API_KEY="your-openai-api-key"
ENV OCTAGON_API_KEY="your-octagon-api-key"

# default command
CMD ["octagon-vc-agents-mcp-server"]