Fix CMD in Dockerfile (#10444)

Currently Notebook fails execution because default user for this container is root, and unless explicitly allowed, jupyter notebook will not start.
This commit is contained in:
Michał Jastrzębski 2017-06-06 19:57:08 -07:00 committed by Jonathan Hseu
parent 8118ab4ec9
commit d13ae380c3

View File

@ -12,4 +12,4 @@ RUN pip install scikit-learn pyreadline Pillow
RUN rm -rf /notebooks/* RUN rm -rf /notebooks/*
ADD *.ipynb /notebooks/ ADD *.ipynb /notebooks/
WORKDIR /notebooks WORKDIR /notebooks
CMD ["/run_jupyter.sh"] CMD ["/run_jupyter.sh", "--allow-root"]