Like packing only the essentials vs moving your whole house.
Alpine Linux base image is tiny (~5MB). Combined with Node.js still much smaller than the full Debian-based node:20 image.
> FROM node:20-alpine: 5MB base > npm ci: 180MB node_modules layer (cached if no package.json changes) > COPY .: 2MB app code layer
Like packing only the essentials vs moving your whole house.
Alpine Linux base image is tiny (~5MB). Combined with Node.js still much smaller than the full Debian-based node:20 image.
> FROM node:20-alpine: 5MB base > npm ci: 180MB node_modules layer (cached if no package.json changes) > COPY .: 2MB app code layer
Sign in to cast your vote
Sign in to share your feedback and join the discussion.