DockerfileStage.Cmd(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.