- DB: mesh.telegram_bridge table + migration - Broker: telegram-bridge.ts (Grammy bot + WS pool + routing) - Broker: telegram-token.ts (JWT connect tokens) - Broker: POST /tg/token endpoint + bridge boot on startup - CLI: claudemesh connect/disconnect telegram commands - Spec: docs/telegram-bridge-spec.md Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
16 lines
246 B
Docker
16 lines
246 B
Docker
# Telegram bridge for claudemesh
|
|
# Node 22 runtime with tsx for TypeScript execution
|
|
|
|
FROM node:22-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json ./
|
|
RUN npm install --omit=dev
|
|
|
|
COPY src/ ./src/
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
CMD ["npx", "tsx", "src/index.ts"]
|