...

/

Working with Multiple Dockerfiles

Working with Multiple Dockerfiles

A guide for using multiple Dockerfiles

Multiple Dockerfile use cases

There might be a situation where we need to have multiple Dockerfiles for different services.

Examples could be:

  • Creating a microservices app
  • Dockerfile for different environments such as development, production

In these cases, you have to tell docker-compose the ...