osanseviero commited on
Commit
b65f5dd
·
1 Parent(s): 477d7b8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -20,13 +20,12 @@ RUN chown 1000:1000 /root/.ipython/profile_default/
20
  RUN (echo "c = get_config()" && \
21
  echo "headers = {'Content-Security-Policy': 'frame-ancestors self https://huggingface.co/spaces/osanseviero/jupyter'}" && \
22
  echo "c.NotebookApp.allow_origin = '*'" && \
23
- echo "c.NotebookApp. token = ''" && \
24
  echo "c.NotebookApp.allow_credentials = True" && \
25
  echo "c.NotebookApp.tornado_settings = {'headers': headers}" && \
26
- echo "c.NotebookApp.open_browser = False") && \
27
  > /root/.ipython/profile_default/ipython_notebook_config.py
28
 
29
 
30
- CMD ["jupyter-lab","--ip=0.0.0.0", "--port=7860", "--no-browser","--allow-root"]
31
 
32
 
 
20
  RUN (echo "c = get_config()" && \
21
  echo "headers = {'Content-Security-Policy': 'frame-ancestors self https://huggingface.co/spaces/osanseviero/jupyter'}" && \
22
  echo "c.NotebookApp.allow_origin = '*'" && \
23
+ echo "c.NotebookApp.token = ''" && \
24
  echo "c.NotebookApp.allow_credentials = True" && \
25
  echo "c.NotebookApp.tornado_settings = {'headers': headers}" && \
 
26
  > /root/.ipython/profile_default/ipython_notebook_config.py
27
 
28
 
29
+ CMD ["jupyter-lab","--ip=0.0.0.0", "--port=7860", "--no-browser","--allow-root", "--ServerApp.tornado_settings=c.NotebookApp.token='test'"]
30
 
31