提交 7d7621cd 编写于 作者: Y Yancey1989

Add --allow-root for jupyter start

上级 436ebbf6
......@@ -6,3 +6,4 @@ pandoc.template
py_env*
*.ipynb
build
Dockerfile
......@@ -37,7 +37,7 @@ RUN ${update_mirror_cmd}
pip install -U matplotlib jupyter numpy requests scipy
EXPOSE 8888
CMD ["sh", "-c", "jupyter notebook --ip=0.0.0.0 --no-browser --NotebookApp.token='' --NotebookApp.disable_check_xsrf=True /book/"]
CMD ["sh", "-c", "jupyter notebook --ip=0.0.0.0 --no-browser --allow-root --NotebookApp.token='' --NotebookApp.disable_check_xsrf=True /book/"]
EOF
docker build --no-cache -t paddlepaddle/book:${paddle_tag} -t paddlepaddle/book:${book_tag} .
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册