diff --git a/apps/web/src/app/(docs)/docs/sandbox-template/page.mdx b/apps/web/src/app/(docs)/docs/sandbox-template/page.mdx index e8de75bea7..d1292cf8ce 100644 --- a/apps/web/src/app/(docs)/docs/sandbox-template/page.mdx +++ b/apps/web/src/app/(docs)/docs/sandbox-template/page.mdx @@ -86,7 +86,7 @@ import cowsay cowsay.say('Hello from E2B!') `) -console.log(execution.stdout) +console.log(execution.logs) ``` ```python {{ language: 'python' }} from e2b_code_interpreter import Sandbox @@ -102,7 +102,7 @@ import cowsay cowsay.say('Hello from E2B!') """) -print(execution.stdout) +print(execution.logs) ``` @@ -123,4 +123,4 @@ We call this sandbox snapshot a _sandbox template_. Snapshots are saved running sandboxes. We serialize and save the whole sandbox's filesystem together with all the running processes in a way that can be loaded later. This allows us to load the sandbox in a few hundred milliseconds any time later with all the processes already running and the filesystem exactly as it was. - \ No newline at end of file + diff --git a/packages/cli/src/docker/constants.ts b/packages/cli/src/docker/constants.ts index b9a2f1d3d9..867084dd70 100644 --- a/packages/cli/src/docker/constants.ts +++ b/packages/cli/src/docker/constants.ts @@ -2,7 +2,7 @@ export const defaultDockerfileName = 'e2b.Dockerfile' export const fallbackDockerfileName = 'Dockerfile' export const basicDockerfile = `# You can use most Debian-based base images -FROM ubuntu:22.04 +FROM e2bdev/code-interpreter:latest # Install dependencies and customize sandbox `