Spaces:
Sleeping
Sleeping
change dockerfile to allow iframes
Browse files- 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
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
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"}}'
|
|
|
|
|
|
|
|
|
|