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

WORKDIR /app

COPY pyproject.toml LICENSE README.md /app/
COPY src/ /app/src/

RUN pip install --no-cache-dir --upgrade pip && \
    pip install --no-cache-dir -e .

EXPOSE 9999

CMD ["elasticsearch7-mcp-server"]
