Skip to content

Commit 97b777f

Browse files
authored
Merge pull request 78#550 from Ike-li/fix_Dockerfile-server
修复 Dockerfile-server 注释
2 parents a63137a + e5b0e20 commit 97b777f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile-server

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ WORKDIR /app
55

66
COPY main/xiaozhi-server/requirements.txt .
77

8-
# 优化apt安装
8+
# 安装Python依赖
99
RUN pip install --no-cache-dir -r requirements.txt
1010

11-
# 第三阶段:生产镜像
11+
# 第二阶段:生产镜像
1212
FROM python:3.10-slim
1313

1414
WORKDIR /opt/xiaozhi-esp32-server
1515

16-
# 优化apt安装
16+
# 安装系统依赖
1717
RUN apt-get update && \
1818
apt-get install -y --no-install-recommends libopus0 ffmpeg && \
1919
apt-get clean && \

0 commit comments

Comments
 (0)