File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ COPY ./requirements.txt requirements.txt
2323RUN pip install --no-cache-dir -r requirements.txt && ipython kernel install --name "python3" --user
2424
2525# R Kernel
26- # RUN curl -O https://cdn.rstudio.com/r/debian-12/pkgs/r-${R_VERSION}_1_amd64.deb && sudo apt-get update && sudo apt-get install -y ./r-${R_VERSION}_1_amd64.deb && ln -s ${R_HOME}/bin/R /usr/bin/R
27- # RUN R -e "install.packages('IRkernel', repos='https://cloud.r-project.org')"
28- # RUN R -e "IRkernel::installspec(user = FALSE, name = 'r', displayname = 'R')"
26+ RUN curl -O https://cdn.rstudio.com/r/debian-12/pkgs/r-${R_VERSION}_1_amd64.deb && sudo apt-get update && sudo apt-get install -y ./r-${R_VERSION}_1_amd64.deb && ln -s ${R_HOME}/bin/R /usr/bin/R
27+ RUN R -e "install.packages('IRkernel', repos='https://cloud.r-project.org')"
28+ RUN R -e "IRkernel::installspec(user = FALSE, name = 'r', displayname = 'R')"
2929
3030# Javascript Kernel
3131RUN npm install -g node-gyp
Original file line number Diff line number Diff line change 11# This is a config for E2B sandbox template.
2- # You can use template ID (8cvk102nkxqyd5l3kelv ) to create a sandbox:
2+ # You can use template ID (nlhz8vlwyupq845jsdg9) or template name (code-interpreter-v1 ) to create a sandbox:
33
44# Python SDK
55# from e2b import Sandbox, AsyncSandbox
6- # sandbox = Sandbox("8cvk102nkxqyd5l3kelv ") # Sync sandbox
7- # sandbox = await AsyncSandbox.create("8cvk102nkxqyd5l3kelv ") # Async sandbox
6+ # sandbox = Sandbox("code-interpreter-v1 ") # Sync sandbox
7+ # sandbox = await AsyncSandbox.create("code-interpreter-v1 ") # Async sandbox
88
99# JS SDK
1010# import { Sandbox } from 'e2b'
11- # const sandbox = await Sandbox.create('8cvk102nkxqyd5l3kelv')
12-
13- team_id = " 400a4584-3d22-4b70-82ee-0bc6cce4aaa5"
11+ # const sandbox = await Sandbox.create('code-interpreter-v1')
12+ team_id = " 460355b3-4f64-48f9-9a16-4442817f79f5"
1413memory_mb = 1_024
1514start_cmd = " sudo -u user /home/user/.jupyter/start-up.sh"
16- dockerfile = " Dockerfile"
17- template_id = " 8cvk102nkxqyd5l3kelv"
15+ dockerfile = " e2b.Dockerfile"
16+ template_name = " code-interpreter-v1"
17+ template_id = " nlhz8vlwyupq845jsdg9"
You can’t perform that action at this time.
0 commit comments