Skip to content
Docs Try Aspire
Docs Try

copyFrom

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

Signature

method copyFrom
Adds a COPY --from statement to a Dockerfile stage
copyFrom(
from: string,
source: string,
destination: string,
chown?: string): DockerfileStage
from string
source string
destination string
chown string optional
DockerfileStage

Applies to

This method applies to the following types: