From a06372c7b21a02d33445ba068557588291ce7ead Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 28 Sep 2022 07:21:20 +0200 Subject: [PATCH] Improve jupyter container install closes #7484 --- docker/Dockerfile.jupyter | 3 ++- docker/docker-compose-jupyter.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.jupyter b/docker/Dockerfile.jupyter index 7d603c667..d86980bdf 100644 --- a/docker/Dockerfile.jupyter +++ b/docker/Dockerfile.jupyter @@ -1,7 +1,8 @@ FROM freqtradeorg/freqtrade:develop_plot -RUN pip install jupyterlab --user --no-cache-dir +# Pin jupyter-client to avoid tornado version conflict +RUN pip install jupyterlab jupyter-client==7.3.4 --user --no-cache-dir # Empty the ENTRYPOINT to allow all commands ENTRYPOINT [] diff --git a/docker/docker-compose-jupyter.yml b/docker/docker-compose-jupyter.yml index 11a01705c..3df82365f 100644 --- a/docker/docker-compose-jupyter.yml +++ b/docker/docker-compose-jupyter.yml @@ -10,7 +10,7 @@ services: ports: - "127.0.0.1:8888:8888" volumes: - - "./user_data:/freqtrade/user_data" + - "../user_data:/freqtrade/user_data" # Default command used when running `docker compose up` command: > jupyter lab --port=8888 --ip 0.0.0.0 --allow-root