From c533b96f85e175ac94f11043130634ba0a47f6a6 Mon Sep 17 00:00:00 2001 From: DevAnaZ <71500526+developeranaz@users.noreply.github.com> Date: Tue, 30 Nov 2021 17:59:42 +0530 Subject: [PATCH 1/2] Update Dockerfile --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index a08c850..e4c5657 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM developeranaz/jupyter-rclone +RUN apt install net-tools COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh CMD /entrypoint.sh From 4416a380d50bdf783a3b5136fb7e94c4d1c59023 Mon Sep 17 00:00:00 2001 From: DevAnaZ <71500526+developeranaz@users.noreply.github.com> Date: Tue, 30 Nov 2021 18:01:12 +0530 Subject: [PATCH 2/2] Update entrypoint.sh --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 9991710..5c4bb2a 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,3 +1,3 @@ #!/bin/bash - -jupyter notebook --ip=0.0.0.0 --port=$PORT --NotebookApp.token='' --NotebookApp.password='' +echo $PORT >/PORT +jupyter notebook --ip=0.0.0.0 --port=$(cat /PORT) --NotebookApp.token='' --NotebookApp.password=''