copy
Method
interface DockerfileStage { // ... omitted for brevity copy( source: string, destination: string, chown?: string): DockerfileStage;}Signature
method
copy Adds a COPY statement to a Dockerfile stage
copy( source: string, destination: string, chown?: string): DockerfileStageParameters
source string destination string chown string optional Returns
DockerfileStage Applies to
This method applies to the following types: