162 Star 1.1K Fork 516

之江天枢 / Dubhe

 / 详情

一键部署安装,总是在打web镜像出错?

待办的
任务
创建于  
2023-12-13 14:03

通过一键部署安装脚本,当前在打web镜像时,总是出错,通过单步安装也是出错,有安装搭建完毕的吗?或者有下载好的前端包没,谢谢了。
web-7d94f7d46-7xsm7 0/1 ImagePullBackOff

评论 (2)

zhang 创建了任务

核心构建脚本是:

 docker run --rm --entrypoint="" -v $PWD/Dubhe:/Dubhe node:12.22.4 /bin/bash -c 'cd /Dubhe/webapp/ &&  npm install && npm run build:prod'

一般构建问题就是vue前端下载依赖问题,多下载几次就好了

root@tianshu-ai-platform:~/dubhe-deploy# ./dubhectl help
[info] Usage:
        ./dubhectl build-image all(mysql-init|minio-init|nacos-init|backend-init|storage-init|backend|web|visual-server|model-converter|model-measuring)
        ./dubhectl install
        ./dubhectl reinstall module(mysql|nacos|minio|redis|backend|web)
        ./dubhectl uninstall

可以使用./dubhectl build-image web单独构建

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
Java
1
https://gitee.com/zhijiangtianshu/Dubhe.git
git@gitee.com:zhijiangtianshu/Dubhe.git
zhijiangtianshu
Dubhe
Dubhe

搜索帮助