feat: add docker shell baihu cmd

This commit is contained in:
engigu
2026-02-27 23:27:44 +08:00
parent 6e50172fd3
commit 416c47d8e7
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -141,7 +141,8 @@ COPY docker/docker-entrypoint.sh .
COPY --from=agent-builder /opt/agent /opt/agent
RUN chmod +x docker-entrypoint.sh \
&& echo "set encoding=utf-8" >> /etc/vim/vimrc
&& echo "set encoding=utf-8" >> /etc/vim/vimrc \
&& ln -sf /app/baihu /usr/local/bin/baihu
EXPOSE 8052
+5
View File
@@ -56,6 +56,11 @@ log "python: $(python --version 2>&1 | head -n 1) at $(which python)"
log "node: $(node --version 2>&1 | head -n 1) at $(which node)"
log "npm: $(npm --version 2>&1 | head -n 1) at $(which npm)"
# ============================
# 将 baihu 注册到全局命令
# ============================
ln -sf /app/baihu /usr/local/bin/baihu
# ============================
# 启动应用
# ============================