deagar commited on
Commit
6f2f943
·
1 Parent(s): 72dea56

change dockerfile to allow iframes

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -11
Dockerfile CHANGED
@@ -34,14 +34,9 @@ USER $NB_UID
34
  EXPOSE 8888
35
 
36
  # Run Jupyter Notebook, disabling token & password
37
- CMD ["start.sh", "jupyter", "notebook",
38
- "--ip=0.0.0.0",
39
- "--port=8888",
40
- "--no-browser",
41
- "--NotebookApp.token=''",
42
- "--NotebookApp.password=''",
43
- "--NotebookApp.allow_origin='*'",
44
- "--NotebookApp.disable_check_xsrf='True'",
45
- "--NotebookApp.allow_remote_access=True",
46
- "--NotebookApp.tornado_settings={'headers': {'Content-Security-Policy': \"frame-ancestors *\", 'X-Frame-Options': 'ALLOWALL'}}"
47
- ]
 
34
  EXPOSE 8888
35
 
36
  # Run Jupyter Notebook, disabling token & password
37
+ CMD start.sh jupyter notebook \
38
+ --ip=0.0.0.0 --port=8888 --no-browser \
39
+ --NotebookApp.token= --NotebookApp.password= \
40
+ --NotebookApp.allow_origin=* --NotebookApp.disable_check_xsrf=True \
41
+ --NotebookApp.allow_remote_access=True \
42
+ --NotebookApp.tornado_settings='{"headers":{"Content-Security-Policy":"frame-ancestors *","X-Frame-Options":"ALLOWALL"}}'