From f93f06382f398d17714a6cfe42ebb00e6bcfbd8b Mon Sep 17 00:00:00 2001 From: kalicyh <34980061+kaliCYH@users.noreply.github.com> Date: Tue, 18 Feb 2025 17:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20chore:=20=E6=94=B9=E7=94=A8docke?= =?UTF-8?q?r=20hub?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 ++++-- docker-compose.yml | 2 +- docs/Deployment-silm.md | 2 +- docs/Deployment.md | 7 +------ 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 94e9b7630..c1edaa956 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,10 @@ # 第一阶段:前端构建 -FROM ccr.ccs.tencentyun.com/kalicyh/node:18-alpine AS frontend-builder +FROM kalicyh/node:v18-alpine AS frontend-builder WORKDIR /app/ZhiKongTaiWeb +# RUN corepack enable && yarn config set registry https://registry.npmmirror.com + COPY ZhiKongTaiWeb/package.json ZhiKongTaiWeb/yarn.lock ./ RUN yarn install --frozen-lockfile @@ -11,7 +13,7 @@ COPY ZhiKongTaiWeb . RUN yarn build # 第二阶段:构建 Python 依赖 -FROM ccr.ccs.tencentyun.com/kalicyh/poetry:v3.10_xiaozhi AS builder +FROM kalicyh/poetry:v3.10_xiaozhi AS builder WORKDIR /app diff --git a/docker-compose.yml b/docker-compose.yml index 58e8417a8..f0b8113f2 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: xiaozhi-esp32-server: - image: ccr.ccs.tencentyun.com/kalicyh/esp32-ai-server:latest + image: kalicyh/xiaozhi-esp32-server:latest container_name: xiaozhi-esp32-server restart: always #security_opt: diff --git a/docs/Deployment-silm.md b/docs/Deployment-silm.md index b0f54e479..404106efa 100644 --- a/docs/Deployment-silm.md +++ b/docs/Deployment-silm.md @@ -105,7 +105,7 @@ docker run -it --name xiaozhi-env --restart always --security-opt seccomp:unconf -p 8000:8000 \ -p 8002:8002 \ -v ./:/app \ - ccr.ccs.tencentyun.com/kalicyh/poetry:v3.10_latest + kalicyh/poetry:v3.10_latest ``` 然后就和正常开发一样了 diff --git a/docs/Deployment.md b/docs/Deployment.md index 44a54a439..f0b4a8a1c 100644 --- a/docs/Deployment.md +++ b/docs/Deployment.md @@ -57,7 +57,7 @@ docker run -it --name xiaozhi-env --restart always --security-opt seccomp:unconf -p 8000:8000 \ -p 8002:8002 \ -v ./:/app \ - ccr.ccs.tencentyun.com/kalicyh/poetry:v3.10_latest + kalicyh/poetry:v3.10_xiaozhi ``` 然后就和正常开发一样了 @@ -70,11 +70,6 @@ docker run -it --name xiaozhi-env --restart always --security-opt seccomp:unconf poetry install --no-root ``` -```sh -apt-get update -apt-get install -y --no-install-recommends libopus0 ffmpeg -``` - 速度慢可以尝试使用清华镜像 ```sh