docker config
rodzic
7991cad9af
commit
7c4de02604
|
@ -1,10 +1,15 @@
|
|||
FROM jupyter/base-notebook
|
||||
|
||||
COPY requirements.txt .
|
||||
COPY run_voila .
|
||||
|
||||
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
|
||||
#CMD ["jupyter-lab","--ip=0.0.0.0","--no-browser","--allow-root"]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
pythreejs
|
||||
pandas
|
||||
voila
|
||||
voila-gridstack
|
||||
ipywidgets
|
||||
termcolor
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
python3 -m voila \
|
||||
python3 -m voila work \
|
||||
--Voila.ip='0.0.0.0' \
|
||||
--enable_nbextensions=True \
|
||||
--autoreload=True \
|
||||
--no-browser \
|
||||
--MappingKernelManager.cull_interval=60 \
|
||||
--MappingKernelManager.cull_idle_timeout=120
|
||||
|
|
Ładowanie…
Reference in New Issue