Skip to content
Docs Try Aspire
Docs Try

workDir

Method
📦 Aspire.Hosting v13.3.0
interface DockerfileStage {
// ... omitted for brevity
workDir(path: string): DockerfileStage;
}

Signature

method workDir
Adds a WORKDIR statement to a Dockerfile stage
workDir(path: string): DockerfileStage
path string
DockerfileStage

Applies to

This method applies to the following types: