File tree 1 file changed +17
-10
lines changed
1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 14
14
# limitations under the License.
15
15
#
16
16
17
- ARG base_image=rayproject/ray:1.4.0-py38
17
+ ARG base_image=jupyter/minimal-notebook:59c973d16bca
18
18
FROM ${base_image}
19
19
20
20
USER root
21
- RUN apt-get update && apt-get install -y build-essential
22
- USER ray
21
+ RUN chgrp -R 0 /home/jovyan && \
22
+ chmod -R 777 /home/jovyan
23
23
24
- COPY --chown=ray:users setup.py requirements.txt codeflare/
25
- COPY --chown=ray:users codeflare codeflare/codeflare
26
- COPY --chown=ray:users notebooks codeflare/notebooks
27
- COPY --chown=ray:users resources codeflare/resources
24
+ # install graphviz
25
+ RUN apt-get update && \
26
+ apt-get install -y graphviz
27
+
28
+ USER $NB_UID
29
+
30
+ COPY --chown=jovyan:0 setup.py requirements.txt codeflare/
31
+ COPY --chown=jovyan:0 codeflare codeflare/codeflare
32
+ COPY --chown=jovyan:0 notebooks codeflare/notebooks
33
+ COPY --chown=jovyan:0 resources codeflare/resources
34
+
35
+ ENV JUPYTER_ENABLE_LAB=yes
28
36
29
- RUN pip install jupyterlab
30
37
RUN pip install matplotlib
31
38
RUN pip install lale
32
39
RUN pip install arff
33
-
34
40
RUN pip install -r ./codeflare/requirements.txt
41
+ RUN pip install -e ./codeflare
35
42
36
- RUN pip install -e ./codeflare
43
+ CMD start-notebook.sh --NotebookApp.token= '' --NotebookApp.password= ''
You can’t perform that action at this time.
0 commit comments