# set_entrypoint

Set the container entrypoint.

```rhai
bah.set_entrypoint(entrypoint) -> Bah
```

## Parameters

- `entrypoint` (string): The entrypoint command

## Returns

Returns the `Bah` builder for method chaining.

## Examples

```rhai
let builder = bah("mycontainer", "ubuntu:22.04")
    .run("apt install -y nginx")
    .set_entrypoint("/usr/sbin/nginx")
    .commit("nginx:custom");

// Using alias
let builder2 = bah("app", "alpine:latest")
    .entrypoint("/app/server");
```

## Notes

- This is a chainable method
- Alias: `entrypoint()` can be used instead
- The entrypoint defines the main executable for the container
