ContainerResource.withDockerfileFactory
Method
interface ContainerResource { // ... omitted for brevity withDockerfileFactory(contextPath: string, dockerfileFactory: (arg: DockerfileFactoryContext) => Promise<string>, stage?: string): ContainerResource;}Signature
method
withDockerfileFactorybuilderBuilds the specified container image from a Dockerfile generated by an asynchronous factory function.
withDockerfileFactory(contextPath: string, dockerfileFactory: (arg: DockerfileFactoryContext) => Promise<string>, stage?: string): ContainerResourceParameters
contextPathstringdockerfileFactory(arg: DockerfileFactoryContext) => Promise<string>stagestringoptionalReturns
ContainerResourceDefined on
This method is defined on the following type: