addDockerfile
Function
interface IDistributedApplicationBuilder { // ... omitted for brevity addDockerfile( name: string, contextPath: string, dockerfilePath?: string, stage?: string): ContainerResource;}Signature
method
addDockerfile builder Adds a container resource built from a Dockerfile
addDockerfile( name: string, contextPath: string, dockerfilePath?: string, stage?: string): ContainerResourceParameters
name string contextPath string dockerfilePath string optional stage string optional Returns
ContainerResource Applies to
This function is an extension method on the following types: