Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

ContainerFilesOptions

Struct
📦 Aspire.Hosting v17.0.0

Options for creating or updating files and directories in a container from polyglot apphosts.

type ContainerFilesOptions struct {
DefaultOwner *float64 `json:"DefaultOwner"`
DefaultGroup *float64 `json:"DefaultGroup"`
Umask *float64 `json:"Umask"`
}

Fields

DefaultOwner*float64optional
The default owner UID for the created or updated file system entries. Defaults to 0 for root if not set.
DefaultGroup*float64optional
The default group ID for the created or updated file system entries. Defaults to 0 for root if not set.
Umask*float64optional
The Unix umask to apply to files or directories without explicit permissions. Use octal literals in JavaScript or TypeScript, for example 0o022.