Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化建议,增加基础镜像 #61

Open
danerlt opened this issue Jul 20, 2023 · 0 comments
Open

优化建议,增加基础镜像 #61

danerlt opened this issue Jul 20, 2023 · 0 comments

Comments

@danerlt
Copy link

danerlt commented Jul 20, 2023

  1. 现在docker构建的时候每次构建都需要安装Linux依赖,Python依赖,耗时比较久,可以增加一个基础镜像,将所有的安装依赖放到基础镜像中去, 每个镜像自己的Dockerfile只需要copy代码,启动start.sh,这样在依赖没有变化的时候只需要构建一次基础镜像,加快docker build的时间。
  2. det-yolov5-tmi,docker构建的时候要去Github上面下载权重,对于服务器无法访问Github的情况,能否将pt文件放到项目中,通过参数控制是去Github上下载还是直接用项目中的pt文件
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant