Containersintermediate
A multi-stage build compiles in a big image and ships only the output in a small one — it is the difference between a 1.2GB deploy and a 200MB one.
A Dockerfile that builds a Vite app and ships only the static output — plus the .dockerignore that stops you copying node_modules into the image.
Editing a source file rebuilds in seconds, not minutes, and the final image contains no toolchain.
Published in full, before you start — every point is one of these and there is nothing else.
A multi-stage build compiles in a big image and ships only the output in a small one — it is the difference between a 1.2GB deploy and a 200MB one.
A healthcheck is how the platform knows to restart your container, and running as a non-root user is how a bug stops being a breach.