Skip to content

Commit

Permalink
describe jupyterlab as minimal requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Sep 22, 2021
1 parent 21a4f9a commit d0db6ca
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

[Binder](https://mybinder.org) needs only one thing for images to work:

- to be able to launch `jupyter notebook` as a specified user (passed via docker build args as NB_UID/NB_USER)
- to be able to launch `jupyter notebook` with jupyterlab as a specified user (passed via docker build args as NB_UID/NB_USER)

What this means in practice is that the `notebook` package must be installed and on PATH:
What this means in practice is that the `notebook` and `jupyterlab` packages must be installed and on PATH:

```docker
RUN pip install --no-cache notebook
RUN pip install --no-cache notebook jupyterlab
```

Note that if you are not installing `jupyterlab` in addition to the classic `notebook`,
Expand All @@ -25,8 +25,8 @@ The absolute bare minimum for this is to set HOME to `/tmp` so that it's writabl
which would make the shortest, smallest Dockerfile that works on Binder:

```docker
FROM python:3.7-slim
RUN pip install --no-cache notebook
FROM python:3.9-slim
RUN pip install --no-cache notebook jupyterlab
ENV HOME=/tmp
```

Expand Down

0 comments on commit d0db6ca

Please sign in to comment.