Yelp / MOE

A global, black box optimization engine for real world metric optimization.
Other
1.3k stars 139 forks source link

Docker image is gigantic (too large) #473

Open b1f6c1c4 opened 6 years ago

b1f6c1c4 commented 6 years ago

I found a 69MiB moe.log file (which contains logs since 2014-06-28 till 2014-11-18), 79MiB .git repo, .DS_Store files, vim temp files (end with ~), etc. in the final docker image. All of them are useless for a production-ready docker image.

Besides, once built, building tools are no longer useful, so I suggest you use two-steps build that copy the generated binary files into another image.