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

Docker image is gigantic (too large) #473

Open
b1f6c1c4 opened this issue Apr 25, 2018 · 0 comments
Open

Docker image is gigantic (too large) #473

b1f6c1c4 opened this issue Apr 25, 2018 · 0 comments

Comments

@b1f6c1c4
Copy link

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.

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