Files
wework_xiaoai_bot/Dockerfile
T
houhuan c7b8b01fe2 Add WeWork XiaoAi TTS bot - WeChat Work long connection bridge
Receives messages from WeChat Work bot via WebSocket long connection
and speaks them through XiaoAi smart speaker TTS.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 13:52:04 +08:00

20 lines
413 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Install system deps (none needed for this project, just pip)
RUN pip install --no-cache-dir \
aiohttp>=3.9.0 \
python-dotenv>=1.0.0 \
miservice_fork>=2.9.0
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ app/
COPY config.py run.py ./
# Don't COPY .env or .mi.token — they're mounted at runtime
CMD ["python", "run.py"]