mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-24 16:13:54 +08:00
合并多个更新 (#68)
* 🐳 chore: 优化打包速度 使用国内镜像 * 🎈 perf: 优化打包速度 注释日志的时间信息 * 🐳 chore: 改用docker hub * 🐎 ci(ci): 自动打包docker * 🐳 chore: 更新文档 * 🎈 perf: 改用opuslib_next * 🌈 style: 统一log
This commit is contained in:
+6
-2
@@ -1,8 +1,11 @@
|
||||
# 第一阶段:前端构建
|
||||
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 +14,8 @@ 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user