Skip to content

Commit e71ab64

Browse files
committed
update docker file for python version
1 parent 8142a46 commit e71ab64

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Dockerfile.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM jupyter/base-notebook
22

33
USER root
4-
RUN apt-get update
5-
RUN apt-get install -y build-essential g++ libgl1-mesa-glx libx11-6
6-
RUN conda install matplotlib scipy
7-
RUN pip install cvxopt
4+
RUN apt-get update && apt-get install -y build-essential g++ libgl1-mesa-glx libx11-6
5+
COPY requirements.txt .
6+
RUN pip install -r requirements.txt
87
COPY . /src
98
WORKDIR /src
109

0 commit comments

Comments
 (0)