Updates to the Dockerfile Build Processes
Learn how to update the Docker Compose file for microservices deployment.
We'll cover the following
We have only a single Dockerfile that builds the monolith. Going forward, we also need a way to compile the individual services. To accomplish this, we will use an additional Dockerfile that will make use of build arguments to target the right service to build.
The new Dockerfile will be named Dockerfile.microservices
and live alongside the current one in /docker
:
Get hands-on with 1400+ tech skills courses.