diff --git a/Dockerfile.py b/Dockerfile.py index fb13fb5..3c3836f 100644 --- a/Dockerfile.py +++ b/Dockerfile.py @@ -1,10 +1,9 @@ FROM jupyter/base-notebook USER root -RUN apt-get update -RUN apt-get install -y build-essential g++ libgl1-mesa-glx libx11-6 -RUN conda install matplotlib scipy -RUN pip install cvxopt +RUN apt-get update && apt-get install -y build-essential g++ libgl1-mesa-glx libx11-6 +COPY requirements.txt . +RUN pip install -r requirements.txt COPY . /src WORKDIR /src