refactor!: rewrite bot core; add AI (Ollama, Gemini), DB, new commands

This commit is contained in:
2026-01-12 15:32:50 +03:00
parent 9d74ad9861
commit df9471a7e4
137 changed files with 11341 additions and 2025 deletions
+25
View File
@@ -0,0 +1,25 @@
# ---- build ----
FROM oven/bun:alpine AS builder
WORKDIR /app
COPY package*.json bun.lock ./
RUN bun install --frozen-lockfile
COPY . .
RUN bun run build
# only prod dependencies
RUN bun prune --omit=dev
# ---- runtime ----
FROM oven/bun:alpine AS runner
WORKDIR /app
ENV NODE_ENV=production
ENV IS_DOCKER=true
COPY --from=builder /app/package*.json ./
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/dist ./dist
CMD [ "node", "dist/index.js" ]