docker config
rodzic
7991cad9af
commit
7c4de02604
|
@ -1,10 +1,15 @@
|
||||||
FROM jupyter/base-notebook
|
FROM jupyter/base-notebook
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
COPY run_voila .
|
||||||
|
|
||||||
RUN python3 -m pip install --user --no-cache-dir -r requirements.txt
|
RUN python3 -m pip install --user --no-cache-dir -r requirements.txt
|
||||||
COPY notebooks .
|
|
||||||
COPY run_voila .
|
USER root
|
||||||
|
ENV PYTHONPATH "/home/jovyan/work/"
|
||||||
|
USER $NB_USER
|
||||||
|
|
||||||
|
COPY notebooks work
|
||||||
|
|
||||||
EXPOSE 8866
|
EXPOSE 8866
|
||||||
#CMD ["jupyter-lab","--ip=0.0.0.0","--no-browser","--allow-root"]
|
#CMD ["jupyter-lab","--ip=0.0.0.0","--no-browser","--allow-root"]
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
pythreejs
|
pythreejs
|
||||||
pandas
|
pandas
|
||||||
voila
|
voila
|
||||||
|
voila-gridstack
|
||||||
ipywidgets
|
ipywidgets
|
||||||
termcolor
|
termcolor
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
python3 -m voila \
|
python3 -m voila work \
|
||||||
--Voila.ip='0.0.0.0' \
|
--Voila.ip='0.0.0.0' \
|
||||||
--enable_nbextensions=True \
|
--enable_nbextensions=True \
|
||||||
--autoreload=True \
|
--autoreload=True \
|
||||||
--no-browser \
|
--no-browser \
|
||||||
|
--MappingKernelManager.cull_interval=60 \
|
||||||
|
--MappingKernelManager.cull_idle_timeout=120
|
||||||
|
|
Ładowanie…
Reference in New Issue