mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-07-06 15:11:28 +08:00
fix(openclaw): 兼容新版配置与 Node 门槛
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# 阶段 1: 构建阶段 (builder)
|
||||
# -----------------------------------------------------------------------------
|
||||
FROM node:22-alpine AS builder
|
||||
FROM node:22.19.0-alpine AS builder
|
||||
|
||||
# 安装构建依赖
|
||||
RUN apk add --no-cache \
|
||||
@@ -41,7 +41,7 @@ RUN npm ci --prefer-offline --registry https://registry.npmmirror.com && \
|
||||
# -----------------------------------------------------------------------------
|
||||
# 阶段 2: 生产阶段 (production)
|
||||
# -----------------------------------------------------------------------------
|
||||
FROM node:22-alpine AS production
|
||||
FROM node:22.19.0-alpine AS production
|
||||
|
||||
# 安装运行时依赖
|
||||
RUN apk add --no-cache \
|
||||
|
||||
Reference in New Issue
Block a user