mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 17:39:39 +02:00
saving
This commit is contained in:
parent
ffd97375a8
commit
5776171d27
4 changed files with 165 additions and 5 deletions
|
|
@ -92,6 +92,9 @@ const DEFAULT_BLUEPRINT: Blueprint = {
|
|||
// Librarian RPC (for PDF decoder)
|
||||
"librarian-request": "tg.flow.librarian-request",
|
||||
"librarian-response": "tg.flow.librarian-response",
|
||||
// MCP tool invocation
|
||||
"mcp-tool-request": "tg.flow.mcp-tool-request",
|
||||
"mcp-tool-response": "tg.flow.mcp-tool-response",
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -3,11 +3,10 @@
|
|||
# ---------------------------------------------------------------------------
|
||||
# Stage 1: Build
|
||||
# ---------------------------------------------------------------------------
|
||||
FROM node:22-slim AS builder
|
||||
RUN corepack enable && corepack prepare pnpm@9.15.0 --activate
|
||||
FROM oven/bun:1.3.13-slim AS builder
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml turbo.json tsconfig.base.json tsconfig.json ./
|
||||
COPY package.json bun.lock pnpm-workspace.yaml turbo.json tsconfig.base.json tsconfig.json ./
|
||||
COPY packages/base/package.json packages/base/tsconfig.json packages/base/
|
||||
COPY packages/client/package.json packages/client/tsconfig.json packages/client/
|
||||
COPY packages/flow/package.json packages/flow/tsconfig.json packages/flow/
|
||||
|
|
@ -15,10 +14,10 @@ COPY packages/cli/package.json packages/cli/tsconfig.json packages/cli/
|
|||
COPY packages/mcp/package.json packages/mcp/tsconfig.json packages/mcp/
|
||||
COPY packages/workbench/package.json packages/workbench/tsconfig.json packages/workbench/vite.config.ts packages/workbench/
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
COPY packages/ packages/
|
||||
RUN pnpm build --filter=@trustgraph/workbench
|
||||
RUN bunx --bun turbo build --filter=@trustgraph/workbench
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Stage 2: Serve
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue