Skip to content

Commit

Permalink
Create entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
avikdatta committed Dec 18, 2019
1 parent 55fb593 commit 2ea19db
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
case "$1" in
notebook)
. /home/vmuser/miniconda3/etc/profile.d/conda.sh
conda activate notebook-env
jupyter lab --no-browser --port=8888 --ip=0.0.0.0

;;
*)
. /home/vmuser/miniconda3/etc/profile.d/conda.sh
conda activate notebook-env
exec "$@"
;;
esac

0 comments on commit 2ea19db

Please sign in to comment.