Skip to content

Commit

Permalink
Fix broken poetry install
Browse files Browse the repository at this point in the history
  • Loading branch information
esloch committed Dec 5, 2023
1 parent 2b182a0 commit 24c93b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docker/scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
#!/bin/bash

exec jupyter-lab --browser='firefox' --allow-root --NotebookApp.token='' --NotebookApp.password=''
jupyter_lab_path=$(which jupyter)

if [ -z "$jupyter_lab_path" ]; then
echo "Jupyter not found"
exit 1
fi

$jupyter_lab_path lab --browser='firefox' --allow-root --NotebookApp.token='' --NotebookApp.password=''
2 changes: 1 addition & 1 deletion docker/scripts/poetry-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -ex

poetry config virtualenvs.create false
poetry install --all-extras --with docs
poetry install --without geo

0 comments on commit 24c93b5

Please sign in to comment.