diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..017da10 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM jupyter/base-notebook + +COPY requirements.txt . + +RUN python3 -m pip install --user --no-cache-dir -r requirements.txt +COPY notebooks . +COPY run_voila . + +EXPOSE 8866 +#CMD ["jupyter-lab","--ip=0.0.0.0","--no-browser","--allow-root"] +CMD ["./run_voila"] diff --git a/requirements.txt b/requirements.txt index 6b0dc0b..a3ed803 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ -jupyterlab pythreejs pandas voila ipywidgets -termcolor \ No newline at end of file +termcolor diff --git a/run_voila b/run_voila new file mode 100755 index 0000000..c262741 --- /dev/null +++ b/run_voila @@ -0,0 +1,5 @@ +python3 -m voila \ + --Voila.ip='0.0.0.0' \ + --enable_nbextensions=True \ + --autoreload=True \ + --no-browser \