Could not find a Dockerfile, nor detect a runtime or framework

I have a multi-container app with docker-compose.yml.

First time trying to deploy it and, when running flyctl launch it throws:

Could not find a Dockerfile, nor detect a runtime or framework from source code. Continuing with a blank app.

Well, there is no Dockerfile at the root of the project this being a multi-container app. The Dockerfiles are located within each specific service like so:

 /root/
      docker-compose.yml
      api/
          Dockerfile
          ....
      client/
          Dockerfile
          ...