You just Dockerized your NodeJS application, yay ! Now you need to run docker build and it's awfully long as Docker needs to download the same dependencies again and again. BuildKit - built-in with Docker - can help you cache Node dependencies to reduce build time.| blog.crafteo.io
Improve the build speed of Docker images in CI pipelines, using BuildKit caching tricks, the .dockerignore file and package managers tweaks.| AugmentedMind.de