# Your gateway: the mcp-switchboard base image plus your catalogue. Build it in CI from the
# reviewed catalogue, so each image is one approved version of it. No secrets here: ARG and ENV
# values are stored in the image layers. Secrets come from the environment at runtime (.env
# locally, your platform's secret store in production).
FROM {image}

# The catalogue and the files `switchboard add` writes beside it: approved schemas
# (catalogue.lock.json) and enhanced descriptions (catalogue.enhanced.yaml).
COPY catalogue*.yaml catalogue*.json /etc/switchboard/
# Pinned OpenAPI specs; a catalogue's relative `spec:` paths resolve against /app.
COPY specs/ /app/specs/
ENV GATEWAY_CATALOGUE=/etc/switchboard/catalogue.yaml
