feat: add docker shell baihu cmd
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
# ============================
|
||||
# 启动应用
|
||||
# ============================
|
||||
|
||||
Reference in New Issue
Block a user