Install packages from requirements.txt instead of CLI

This commit is contained in:
3wc 2022-11-09 08:31:10 -08:00
parent da823e7bf4
commit a6d4d4c70d
3 changed files with 11 additions and 7 deletions

View File

@ -1 +1 @@
export INSTALL_PACKAGES_CONF_VERSION=v7 export INSTALL_PACKAGES_CONF_VERSION=v8

View File

@ -12,11 +12,15 @@ services:
- jupyter_data:/home/jovyan - jupyter_data:/home/jovyan
working_dir: /home/jovyan/cft-evidence-models working_dir: /home/jovyan/cft-evidence-models
command: > command: >
bash -c bash -c
" pip install -r requirements.txt &&
pip install ipywidgets jupyterlab-git voila ipysheet && voila --enable_nbextensions=True --autoreload=True --Voila.ip=0.0.0.0 --TagRemovePreprocessor.remove_cell_tags='{\"hide\"}' --no-browser --MappingKernelManager.cull_interval=60 --MappingKernelManager.cull_idle_timeout=120
voila --enable_nbextensions=True --autoreload=True --Voila.ip=0.0.0.0 --TagRemovePreprocessor.remove_cell_tags='{\"hide\"}' --no-browser --MappingKernelManager.cull_interval=60 --MappingKernelManager.cull_idle_timeout=120 # command: >
" # bash -c
# "
# #pip install ipywidgets==7.7.0 jupyterlab-git voila ipysheet &&
# voila --enable_nbextensions=True --autoreload=True --Voila.ip=0.0.0.0 --TagRemovePreprocessor.remove_cell_tags='{\"hide\"}' --no-browser --MappingKernelManager.cull_interval=60 --MappingKernelManager.cull_idle_timeout=120
# "
configs: configs:
- source: install-packages_conf - source: install-packages_conf

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
pip install ipywidgets jupyterlab-git ipysheet pip install -r /home/jovyan/cft-evidence-models/requirements.txt