File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 5353 - name : Install E2B CLI
5454 run : npm install -g @e2b/cli
5555
56- - name : Build e2b
57- run : e2b template build
56+ - name : Build E2B template
57+ run : e2b template build --config e2b.test.toml
5858 working-directory : ./template
5959 env :
6060 E2B_ACCESS_TOKEN : ${{ secrets.E2B_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 1+ # This is a config for E2B sandbox template.
2+ # You can use template ID (nlhz8vlwyupq845jsdg9) or template name (code-interpreter-v1) to create a sandbox:
3+
4+ # Python SDK
5+ # from e2b import Sandbox, AsyncSandbox
6+ # sandbox = Sandbox("code-interpreter-v1") # Sync sandbox
7+ # sandbox = await AsyncSandbox.create("code-interpreter-v1") # Async sandbox
8+
9+ # JS SDK
10+ # import { Sandbox } from 'e2b'
11+ # const sandbox = await Sandbox.create('code-interpreter-v1')
12+
13+ team_id = " 460355b3-4f64-48f9-9a16-4442817f79f5"
14+ memory_mb = 1_024
15+ start_cmd = " /root/.jupyter/start-up.sh"
16+ dockerfile = " e2b.Dockerfile"
17+ template_name = " code-interpreter-test"
18+ template_id = " nlhz8vlwyupq845jsdg9"
You can’t perform that action at this time.
0 commit comments