mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
- add feedback backend, H5/admin UI, CRM services, and deployment docs - add isolated local test compose on port 18007 with separate data paths - remove committed LLM secret and support provider-specific env overrides Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
401 B
Docker
18 lines
401 B
Docker
FROM python:3.10-slim
|
||
|
||
WORKDIR /app
|
||
|
||
# 配置 pip 镜像(国内加速)
|
||
RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
|
||
|
||
# 安装 aiohttp(start.py 唯一依赖)
|
||
RUN pip install --no-cache-dir aiohttp==3.11.10
|
||
|
||
# 复制 H5 全部文件(静态资源 + start.py)
|
||
COPY . .
|
||
|
||
# 暴露端口
|
||
EXPOSE 8007
|
||
|
||
# 启动 H5 服务器 + 反向代理
|
||
CMD ["python", "start.py"]
|