Update Dockerfile and docker-compose.yaml. By default, container can use cifs to map network drives so no need to install, and added bash command to docker compose file to run both jupyterlab and dash board simultanously

This commit is contained in:
2025-04-02 14:09:44 +02:00
parent c6b010702c
commit 73648ebe31
2 changed files with 56 additions and 48 deletions

View File

@ -1,5 +1,5 @@
services:
data_processor:
datachain_processor:
image: datachain_processor
container_name: datachain_processor
restart: unless-stopped
@ -13,7 +13,11 @@ services:
- ./figures:/acsmdc/figures
- ./pipelines/params:/acsmdc/pipelines/params
- lac_ord:/mnt/network/lac_ord:rw
command: ["jupyter", "lab", "--ip=0.0.0.0", "--port=8888", "--no-browser", "--allow-root", "--NotebookApp.token='my-token'"]
command: >
bash -c "
jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root --NotebookApp.token='my-token' &
python /acsmdc/app/data_flagging_app.py
"
volumes:
lac_ord: