How to make Docker build faster reducing build context size
This post was published 2 years ago so it might be outdated.
When you build a Docker image you will notice a “transferring context” step in the output (“Sending build context to Docker daemon” in older Docker versions) that can take a lot of time. This step is just Docker copying local files so keeping those to the minimum will make this step faster.
Read more →