Skip to content

Commit 49c9efe

Browse files
committed
Update Dockerfile
1 parent 75ab4a5 commit 49c9efe

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Dockerfile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,21 @@
1717
ARG base_image=rayproject/ray:1.4.0-py38
1818
FROM ${base_image}
1919

20+
USER root
21+
RUN apt-get update && apt-get install -y build-essential
22+
2023
COPY --chown=ray:users setup.py requirements.txt codeflare/
2124
COPY --chown=ray:users codeflare codeflare/codeflare
2225
COPY --chown=ray:users notebooks codeflare/notebooks
2326
COPY --chown=ray:users resources codeflare/resources
2427

25-
#RUN pip install -r ./codeflare/requirements.txt
26-
27-
USER root
28-
RUN apt-get update && apt-get install -y build-essential
28+
USER ray
2929

3030
RUN apt-get update
3131
RUN apt-get install gcc
3232

33-
RUN pip install sklearn
34-
RUN pip install pandas
35-
RUN pip install numpy
36-
3733
RUN pip install jupyterlab
3834

35+
RUN pip install -r ./codeflare/requirements.txt
36+
3937
RUN pip install -e ./codeflare

0 commit comments

Comments
 (0)