Share via


DockerfileStage.Entrypoint(String[]) Method

Definition

Adds an ENTRYPOINT statement to set the container entrypoint.

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

Parameters

command
String[]

The entrypoint command to execute.

Returns

The current stage.

Applies to