初始化 TTS 引擎工程:Android 系统引擎、Go 在线合成服务与测试客户端

- android-engine:TextToSpeechService 引擎,含设置页、语音包导入(SHA-256 校验)与预热
- server:Go CPU 合成服务与部署文件
- test-client:端到端验证客户端
- 模型与语音包不入库,见 models/README.md
This commit is contained in:
tongtong committed 2026-11-23 14:59:46 +08:00
commit 1856de97bc
62 files changed
+3787

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# 节点构建用:只打包预编译产物,不装 Go、不走 Docker Hub。
# 构建上下文为 dist/(tts-server + lib/*.so,由 README 的交叉编译步骤生成):
# docker build -f Dockerfile.runtime -t docker.io/library/tts-server:<tag> dist
FROM debian:bookworm-slim
RUN mkdir -p /cache && chown 65534:65534 /cache
WORKDIR /app
COPY tts-server /app/tts-server
COPY lib/ /app/lib/
RUN chmod 755 /app/tts-server
ENV LD_LIBRARY_PATH=/app/lib TTS_LISTEN=:8080 TTS_VOICES=/voices TTS_CACHE=/cache
EXPOSE 8080
USER 65534:65534
ENTRYPOINT ["/app/tts-server"]