# Container image for the Ohmatic MCP connector (used by Smithery hosting + the OCI registry entry).
FROM python:3.11-slim

LABEL io.modelcontextprotocol.server.name="io.github.vittorialanzo/ohmatic"

WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir .

# stdio by default; Smithery / remote hosts can pass --http.
ENTRYPOINT ["ohmatic"]
