Compare commits
1 Commits
dev
...
74c2b1b7e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 74c2b1b7e7 |
@@ -96,12 +96,10 @@ RUN curl -fsSL https://code-server.dev/install.sh | sh -s -- --version=${CODE_SE
|
||||
|
||||
# 安装 npm 全局包
|
||||
RUN npm install -g \
|
||||
@anthropic-ai/claude-code \
|
||||
@musistudio/claude-code-router \
|
||||
pm2
|
||||
|
||||
# 安装 claude code
|
||||
RUN curl -fsSL https://claude.ai/install.sh | bash
|
||||
|
||||
# 创建工作目录
|
||||
RUN mkdir -p /workspace /root/.local/share/code-server/User
|
||||
|
||||
|
||||
@@ -346,7 +346,6 @@ EOF
|
||||
"api_base_url": "${PKUAI_API_BASE}api/anthropic/v1/messages",
|
||||
"api_key": "${PKUAI_API_KEY}",
|
||||
"models": [
|
||||
"claude-opus-4-6",
|
||||
"claude-sonnet-4-5-20250929",
|
||||
"claude-opus-4-5-20251101",
|
||||
"claude-haiku-4-5-20251001"
|
||||
@@ -369,13 +368,13 @@ EOF
|
||||
}
|
||||
},
|
||||
"Router": {
|
||||
"default": "pku-anthropic,claude-opus-4-6",
|
||||
"default": "pku-anthropic,claude-opus-4-5-20251101",
|
||||
"background": "pku-anthropic,claude-haiku-4-5-20251001",
|
||||
"think": "pku-anthropic,claude-opus-4-6",
|
||||
"longContext": "pku-anthropic,claude-opus-4-6",
|
||||
"think": "pku-anthropic,claude-opus-4-5-20251101",
|
||||
"longContext": "pku-anthropic,claude-opus-4-5-20251101",
|
||||
"longContextThreshold": 80000,
|
||||
"webSearch": "",
|
||||
"image": "pku-anthropic,claude-opus-4-6"
|
||||
"image": "pku-anthropic,claude-opus-4-5-20251101"
|
||||
},
|
||||
"CUSTOM_ROUTER_PATH": ""
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ TEMP_DIR=$(mktemp -d)
|
||||
trap "rm -rf $TEMP_DIR" EXIT
|
||||
|
||||
# 复制必要文件
|
||||
cp -r .next-prod $TEMP_DIR/
|
||||
cp -r .next $TEMP_DIR/
|
||||
cp -r public $TEMP_DIR/
|
||||
cp -r prisma $TEMP_DIR/
|
||||
cp package.json $TEMP_DIR/
|
||||
|
||||
Reference in New Issue
Block a user