discover_dockerfiles_for_deployment

Function discover_dockerfiles_for_deployment 

Source
pub fn discover_dockerfiles_for_deployment(
    project_root: &Path,
) -> Result<Vec<DiscoveredDockerfile>>
Expand description

Discovers Dockerfiles in a project and returns deployment-focused metadata.

This function finds all Dockerfiles in the project, parses them, and returns deployment-relevant information including build context paths, suggested service names, and port configurations.

§Arguments

  • project_root - The root directory of the project to analyze

§Returns

A vector of DiscoveredDockerfile structs, one for each Dockerfile found