- add all non-essential files to .dockerignore - improve cachability by layers - re-order lines to reduce layer generation