修复 Dockerfile-server 注释

This commit is contained in:
Ike-li
2025-03-27 15:39:11 +08:00
parent c66385d1f7
commit e5b0e202be
+3 -3
View File
@@ -5,15 +5,15 @@ WORKDIR /app
COPY main/xiaozhi-server/requirements.txt .
# 优化apt安装
# 安装Python依赖
RUN pip install --no-cache-dir -r requirements.txt
# 第阶段:生产镜像
# 第阶段:生产镜像
FROM python:3.10-slim
WORKDIR /opt/xiaozhi-esp32-server
# 优化apt安装
# 安装系统依赖
RUN apt-get update && \
apt-get install -y --no-install-recommends libopus0 ffmpeg && \
apt-get clean && \