Skip to content

Instantly share code, notes, and snippets.

@beshkenadze
Forked from tsh-code/du.sh
Last active September 9, 2022 09:22
Show Gist options
  • Save beshkenadze/4ecbc88aa3c29ee3138ee3029daa08b7 to your computer and use it in GitHub Desktop.
Save beshkenadze/4ecbc88aa3c29ee3138ee3029daa08b7 to your computer and use it in GitHub Desktop.
Find largest modules / Check a docker image size
#/bin/sh
du -sh ./node_modules/* | sort -nr | grep '\dM.*'
#/bin/sh
docker history {IMAGE:TAG}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment