Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion neuron-explainer/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
],
url="",
description="",
python_requires='>=3.7',
python_requires='>=3.9',
)