TemplateBuilder for full control over your execution environment — install packages, configure runtimes, set resource limits, and more.
Building Templates
Build custom templates usingTemplateBuilder to create environments tailored to your specific needs. Templates support multiple source types: Docker images, local directories, Git repositories, and raw Dockerfiles.
From a Docker Image
The most common approach — start from any Docker image and add your dependencies and application code.From a Git Repository
Clone a public or private repository directly into the template during the build.auth_token:
From a Local Directory
Copy files and directories from your local machine into the template.From a Dockerfile
For full control, provide raw Dockerfile content. When usingdockerfile(), handle all setup inside the Dockerfile — you do not need pip_install or apt_install build steps.
TemplateBuilder API Reference
Resources
Environment and Tags
Build Steps
Startup and Readiness
Building
Managing Templates
List Templates
Get Template Details
Delete a Template
Next Steps
Create Sandbox
Create a sandbox from a template
Execute Code
Run code in your template environment
Getting Started
Quick start guide with templates
Command Execution
Install packages and run commands

