Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
cleanup: move python dependencies to a file
Browse files Browse the repository at this point in the history
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
kbdharun committed Oct 11, 2023
1 parent 4945be9 commit 31f7356
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y python3 python3-pip git
RUN pip3 install notebook

# Install python packages
RUN pip3 install matplotlib
RUN pip3 install networkx
RUN pip3 install scipy
# Copy the requirements file into the container at /app
COPY requirements.txt /app/

# Install Python packages from requirements file
RUN pip3 install -r /app/requirements.txt

# Set the working directory
WORKDIR /app
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
notebook
matplotlib
networkx
scipy

0 comments on commit 31f7356

Please sign in to comment.