Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also each RUN, COPY, ADD, etc. creates a new layer in the image so you should put commands which are related in the same command. The example in the blog post violates this principle, which is the main reason for the unexpected size.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: