mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
Introduces a unified Matrix bot that combines all features: - AI Chat (Ollama integration) - Todo management - Calendar events - Timers & Alarms - Cross-feature orchestration (!summary, !ai-todo) Architecture: - Uses @manacore/bot-services for shared business logic - Command router with natural language support - Handlers delegate to shared services - Orchestration layer for cross-feature AI features This enables users to interact with a single bot for all features, while standalone bots remain available for dedicated use cases. https://claude.ai/code/session_015bwcqVRiFmSydYTjvDJGTc
29 lines
480 B
Docker
29 lines
480 B
Docker
FROM node:20-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install pnpm
|
|
RUN npm install -g pnpm@9
|
|
|
|
# Copy package files
|
|
COPY package.json pnpm-lock.yaml* ./
|
|
|
|
# Install dependencies
|
|
RUN pnpm install --frozen-lockfile --prod
|
|
|
|
# Copy source
|
|
COPY . .
|
|
|
|
# Build
|
|
RUN pnpm build
|
|
|
|
# Create data directory
|
|
RUN mkdir -p /app/data
|
|
|
|
# Health check
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
CMD curl -f http://localhost:3310/health || exit 1
|
|
|
|
EXPOSE 3310
|
|
|
|
CMD ["node", "dist/main.js"]
|