# HubSpot MCP Server
# Extends mcp-base for HubSpot CRM integration
FROM ghcr.io/dynamic/mcp-base:latest
LABEL org.opencontainers.image.source="https://github.com/dynamic/hubspot-mcp"
LABEL org.opencontainers.image.description="HubSpot MCP Server - CRM integration for contacts, companies, and deals"
LABEL org.opencontainers.image.licenses="MIT"
WORKDIR /app
# Copy HubSpot-specific files only (base already has core MCP deps)
COPY hubspot_mcp/ ./hubspot_mcp/
COPY server.py ./
# Install HubSpot-specific dependencies
# Note: mcp-base already has fastmcp, pydantic, so we only need HubSpot-specific packages
RUN pip install --no-cache-dir \
requests>=2.31.0
EXPOSE 3004
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
CMD curl -f http://localhost:3004/health || exit 1
CMD ["python", "server.py"]