c7b8b01fe2
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>
20 lines
413 B
Docker
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"]
|