Yesss. Switched my docker image from node:latest to node:slim and removed devDependencies resulting in a reduced footprint of 60M instead of 350M.
It's that #timeforcoffee again
Don't forget that npm install probably won't work in node:slim. Build it beforehand and just package the production files.