IDistributedApplicationBuilder.addDockerfile
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addDockerfile( name: string, contextPath: string, dockerfilePath?: string, stage?: string): ContainerResource;}Signature
method
addDockerfilebuilderAdds a Dockerfile to the application model that can be treated like a container resource.
addDockerfile( name: string, contextPath: string, dockerfilePath?: string, stage?: string): ContainerResourceParameters
namestringcontextPathstringdockerfilePathstringoptionalstagestringoptionalReturns
ContainerResourceDefined on
This method is defined on the following type: