Multiple DockerFile with monorepo

Hey, is it possible to have a monorepo with multiple modules, each one with a specific DockerFile inside it?
if yes, how can i manage this?
thanks