    def run(self, command: str) -> t.Self:
        """Add a command to the image. Supports chaining call.

        Example:

        .. code-block:: python

            image = Image("debian:latest").run("echo 'Hello, World!'")
        """
        commands = self.post_commands if self._after_pip_install else self.commands
        commands.append(command)
        return self
Add a command to the image. Supports chaining call.

Example:

.. code-block:: python

image = Image("debian:latest").run("echo 'Hello, World!'")
src/_bentoml_sdk/images.py