Techniques Starting from a baseline (1740 MB) the result (105 MB) will be 93.97% smaller. The following techniques will be shown: a .dockerignore file using npm ci a cleaned node_modules directory a smaller base image a multi-stage build a separate serving image a hardened image a UPX-compressed Node binary bundled JavaScript with external packages bundled JavaScript without external packages Baseline