From e71ab64ecfbfe85d508ee27b7a09baf01ee4c44d Mon Sep 17 00:00:00 2001 From: GREENRAT-K405 Date: Sat, 14 Feb 2026 18:38:58 +0530 Subject: [PATCH] update docker file for python version --- Dockerfile.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile.py b/Dockerfile.py index fb13fb56..3c3836f6 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