send2streamer/Dockerfile
vrubelroman 2799dfdf42
Some checks failed
CI/CD Pipeline / build-and-deploy (push) Failing after 3s
Add optional AI reply via DeepSeek
Viewers can check a box on the send page to get a short AI-generated
reply to their message, voiced with a distinct TTS voice and queued
on the overlay after the original message. The system prompt lives
in ai-prompt.txt (editable without touching code) instead of being
hardcoded. TTS for both viewer messages and AI replies now announces
who it's from ("Сообщение от X." / "Ответ от ИИ.") before the text.
No-ops entirely if DEEPSEEK_API_KEY isn't set.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-01 17:23:41 +00:00

16 lines
306 B
Docker

FROM node:22-alpine
RUN apk add --no-cache python3 py3-pip && \
pip install --no-cache-dir --break-system-packages edge-tts
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci --omit=dev
COPY server.js db.js ai-prompt.txt ./
COPY public ./public
EXPOSE 3000
CMD ["node", "server.js"]