In this post, we will see a docker build example of a node js API application starting from slow and ending up in a ~10x faster build. I have already talked about the reasons to use docker for development environment. I have also mentioned how docker changed the way we software engineers work and multi-stage docker build in past posts. For this one let’s focus on the docker build example with faster build in mind.

Information before jumping in

  1. Familiarity with Docker and the docker build process is required
  2. All examples are based on Docker version 19.03.13, build 4484c46d9d on a Mac
  3. The Currency API app is used for this docker build example

#docker #docker builds

Docker Build Example: How to Go From Slow To Fast Docker Builds
1.20 GEEK