master
miklobit 2022-10-10 17:10:25 +02:00
rodzic 7991cad9af
commit 7c4de02604
3 zmienionych plików z 11 dodań i 3 usunięć

Wyświetl plik

@ -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"]

Wyświetl plik

@ -1,5 +1,6 @@
pythreejs
pandas
voila
voila-gridstack
ipywidgets
termcolor

Wyświetl plik

@ -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