gghfds commited on
Commit
fb485d4
·
verified ·
1 Parent(s): 608a494

Create start.sh

Browse files
Files changed (1) hide show
  1. start.sh +19 -0
start.sh ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ NOTEBOOK_DIR="/workspace"
4
+
5
+ jupyter labextension disable "@jupyterlab/apputils-extension:announcements"
6
+
7
+ jupyter-lab \
8
+ --ip 0.0.0.0 \
9
+ --port 7860 \
10
+ --no-browser \
11
+ --allow-root \
12
+ --ServerApp.token="" \
13
+ --ServerApp.password=""\
14
+ --ServerApp.tornado_settings="{'headers': {'Content-Security-Policy': 'frame-ancestors *'}}" \
15
+ --ServerApp.cookie_options="{'SameSite': 'None', 'Secure': True}" \
16
+ --ServerApp.disable_check_xsrf=True \
17
+ --LabApp.news_url=None \
18
+ --LabApp.check_for_updates_class="jupyterlab.NeverCheckForUpdate" \
19
+ --notebook-dir=$NOTEBOOK_DIR