Includes full bot source (Phases 1–4), plus five new features: - Epic 1: emoji reaction state machine (👀⏳✅🎲) + burst queue cap at 2 with in-world drop notices - Epic 2: per-encounter tone field in YAML injected into LLM system prompt - Epic 3: player pronouns via modal registration + system prompt players block - Epic 4: strengthened skill_check_emit tool contract + missed-skill-check diagnostic Also includes UX design docs, epics, and story files under Docs/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
33 lines
635 B
Docker
33 lines
635 B
Docker
FROM node:22-alpine AS builder
|
|
|
|
RUN apk upgrade --no-cache
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
RUN npm ci --ignore-scripts
|
|
|
|
COPY tsconfig.json ./
|
|
COPY src ./src
|
|
|
|
RUN npm run build
|
|
|
|
# ── Runtime image ──────────────────────────────────────────────
|
|
FROM node:22-alpine
|
|
|
|
RUN apk upgrade --no-cache
|
|
|
|
WORKDIR /app
|
|
|
|
ENV NODE_ENV=production
|
|
|
|
COPY package*.json ./
|
|
RUN npm ci --omit=dev --ignore-scripts
|
|
|
|
COPY --from=builder /app/dist ./dist
|
|
COPY specs ./specs
|
|
COPY lore ./lore
|
|
COPY persona.yaml ./persona.yaml
|
|
|
|
CMD ["node", "dist/bot/index.js"]
|