ContainerResource.withDockerfile
Method
interface ContainerResource { // ... omitted for brevity withDockerfile( contextPath: string, dockerfilePath?: string, stage?: string): ContainerResource;}Signature
method
withDockerfilebuilderCauses Aspire to build the specified container image from a Dockerfile.
withDockerfile( contextPath: string, dockerfilePath?: string, stage?: string): ContainerResourceParameters
contextPathstringdockerfilePathstringoptionalstagestringoptionalReturns
ContainerResourceDefined on
This method is defined on the following type: