copyFrom
Method
interface DockerfileStage { // ... omitted for brevity copyFrom( from: string, source: string, destination: string, chown?: string): DockerfileStage;}Signature
method
copyFromAdds a COPY --from statement to a Dockerfile stage
copyFrom( from: string, source: string, destination: string, chown?: string): DockerfileStageParameters
fromstringsourcestringdestinationstringchownstringoptionalReturns
DockerfileStageApplies to
This method applies to the following types: