Skip to content

Commit 2d7e9b1

Browse files
authored
Launch Jupyter via bash so that login scripts that will set the correct PATH etc are run.
1 parent 079313a commit 2d7e9b1

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

build/docker-compose.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,5 @@ services:
2222
- /home/ubuntu/pyhpc-tutorial:/pyhpc-tutorial
2323
user: root
2424
working_dir: /pyhpc-tutorial/notebooks
25-
command: >
26-
python -m jupyter lab
27-
--allow-root
28-
--ip=0.0.0.0
29-
--no-browser
30-
--NotebookApp.token=''
31-
--NotebookApp.password=''
32-
--NotebookApp.default_url=''
25+
command: ["/bin/bash", "-lc", "exec python -m jupyter lab --allow-root --ip=0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.password='' --NotebookApp.default_url=''"]
3326
restart: unless-stopped

0 commit comments

Comments
 (0)