Skip to content
DocsTry Aspire
DocsTry

copy

Method
📦 Aspire.Hosting v13.4.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: