diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e34e885 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM ubuntu:latest + +RUN apt-get update && apt-get install -y \ + python3 \ + python3-pip + + +COPY . /app +WORKDIR /app + +# make sure the working dir made already +# docker build -t yourdockerimage . +RUN pip install jupyter && \ + cd neuron-explainer && \ + pip install -e . + +# to run normally +# docker run -it --name yourdockercontainer yourdockerimage +# to run out of jupyter +# docker run -it -p 8888:8888 --name yourdockercontainer yourdockerimage +# select kernel and input url from this \ No newline at end of file diff --git a/neuron-explainer/setup.py b/neuron-explainer/setup.py index 09b50f9..91e52f3 100644 --- a/neuron-explainer/setup.py +++ b/neuron-explainer/setup.py @@ -17,5 +17,5 @@ ], url="", description="", - python_requires='>=3.7', + python_requires='>=3.9', )