Skip to main content
Runs a Python script in the same environment as your Truss. This builds a Docker image matching your Truss environment, mounts the script, and executes it. Use this to test scripts with the same dependencies your model uses.

Arguments

PATH
required
Path to the Python script to run.
TEXT
A Truss directory. Defaults to current directory.
Example: Run a script in the Truss environment:
Run a script with a specific Truss directory: