Bump to 0.8.7

This commit is contained in:
hrz
2025-11-08 16:24:16 +08:00
parent b0ceb0b06d
commit ce1bdea54d
5 changed files with 13 additions and 5 deletions
+9 -1
View File
@@ -4,7 +4,9 @@ FROM python:3.10-slim
# 安装系统依赖
RUN apt-get update && \
apt-get install -y --no-install-recommends libopus0 ffmpeg && \
apt-get install -y --no-install-recommends libopus0 ffmpeg locales && \
sed -i '/zh_CN.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
@@ -14,6 +16,12 @@ RUN pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ && \
pip config set global.timeout 120 && \
pip config set install.retries 5
# 设置环境变量以确保正确的字符编码
ENV LANG=zh_CN.UTF-8 \
LC_ALL=zh_CN.UTF-8 \
LANGUAGE=zh_CN:zh \
PYTHONIOENCODING=utf-8
WORKDIR /opt/xiaozhi-esp32-server
# 复制requirements.txt