Share via


DockerfileStage.Cmd(String[]) Method

Definition

Adds a CMD statement to set the default command.

public Aspire.Hosting.ApplicationModel.Docker.DockerfileStage Cmd(string[] command);
member this.Cmd : string[] -> Aspire.Hosting.ApplicationModel.Docker.DockerfileStage
Public Function Cmd (command As String()) As DockerfileStage

Parameters

command
String[]

The command to execute.

Returns

The current stage.

Applies to