Skip to content

Commit

Permalink
Remove extra part in JS readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubno committed Apr 3, 2024
1 parent 537ac3a commit 32265d1
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,27 +121,3 @@ urllib3==1.26.7
xarray==2024.2.0
xlrd==2.0.1
```

### Custom template using Code Interpreter

The template requires custom setup. If you want to build your own custom template and use Code Interpreter, you need to do:

1. Copy `jupyter_server_config.py` and `start-up.sh` from this PR
2. Add following commands in your Dockerfile

```Dockerfile
# Installs jupyter server and kernel
RUN pip install jupyter-server ipykernel ipython
RUN ipython kernel install --name "python3" --user
# Copes jupyter server config
COPY ./jupyter_server_config.py /home/user/.jupyter/
# Setups jupyter server
COPY ./start-up.sh /home/user/.jupyter/
RUN chmod +x /home/user/.jupyter/start-up.sh
```

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`.

```yaml
start_cmd = "/home/user/.jupyter/start-up.sh"
```

0 comments on commit 32265d1

Please sign in to comment.