Skip to content
Docs Try Aspire
Docs Try

copy

Method
📦 Aspire.Hosting v13.3.0
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): DockerfileStage
source string
destination string
chown string optional
DockerfileStage

Applies to

This method applies to the following types: