You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Add the following option `-c "/home/user/.jupyter/start-up.sh"` to `e2b template build` command or add this line to your `e2b.toml`.
233
-
234
-
```yaml
235
-
start_cmd = "/home/user/.jupyter/start-up.sh"
236
-
```
216
+
The template requires custom setup. If you want to build your own custom template and use Code Interpreter, look at [README.md](./template/README.md) in the template folder.
This template runs a Jupyter server with a Python kernel. The jupyter server is started in `start_cmd`, this way the server will be already running when the sandbox is started.
4
+
5
+
## Customization
6
+
7
+
If you want to add another packages, another kernels or simply change some configuration and still use CodeInterpreter SDK, you will need to follow these steps:
8
+
9
+
1. Copy `jupyter_server_config.py`, `ipython_kernel_config.py` and `start-up.sh` from this folder.
10
+
2. Add following commands in your Dockerfile
11
+
12
+
```Dockerfile
13
+
# Installs jupyter server and kernel
14
+
RUN pip install jupyter-server ipykernel ipython
15
+
RUN ipython kernel install --name "python3" --user
0 commit comments