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>
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user