Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

copy

Method
📦 Aspire.Hosting v13.6.0
interface DockerfileStage {
// ... omitted for brevity
copy(
source: string,
destination: string,
chown?: string): DockerfileStage;
}

Signature

methodcopy
Adds a COPY statement to a Dockerfile stage
copy(
source: string,
destination: string,
chown?: string): DockerfileStage
sourcestring
destinationstring
chownstringoptional
DockerfileStage

Applies to

This method applies to the following types: