From cae8d8356bf35423edd5e49d721240b9d40e5b8e Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sun, 15 Oct 2023 15:53:32 -0600 Subject: [PATCH] docker: use jupiter notebook --- other/vllm/Docker/Dockerfile | 1 + other/vllm/Docker/supervisord.conf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/other/vllm/Docker/Dockerfile b/other/vllm/Docker/Dockerfile index d636118..b8f5df1 100644 --- a/other/vllm/Docker/Dockerfile +++ b/other/vllm/Docker/Dockerfile @@ -38,6 +38,7 @@ RUN chown -R apiserver:apiserver /local-llm-server && \ chown -R apiserver:apiserver /var/log/app/ RUN git config --global --add safe.directory /local-llm-server +RUN chmod +x /app/init.sh RUN chmod +x /app/start.sh ENV SHELL="/bin/bash" diff --git a/other/vllm/Docker/supervisord.conf b/other/vllm/Docker/supervisord.conf index 4dd7bc7..1b70082 100644 --- a/other/vllm/Docker/supervisord.conf +++ b/other/vllm/Docker/supervisord.conf @@ -30,7 +30,7 @@ user=apiserver environment=HOME="/home/apiserver",USER="apiserver" [program:jupyter] -command=/jupyterlab/bin/jupyter lab --no-browser --allow-root --ip 0.0.0.0 --port 8888 --LabApp.trust_xheaders=True --LabApp.disable_check_xsrf=False --LabApp.allow_remote_access=True --LabApp.allow_origin='*' --notebook-dir /notebooks +command=/jupyterlab/bin/jupyter notebook --allow-root --ip=0.0.0.0 --no-browser --NotebookApp.trust_xheaders=True --NotebookApp.disable_check_xsrf=False --NotebookApp.allow_remote_access=True --NotebookApp.allow_origin='*' --notebook-dir /notebooks environment=SHELL="/bin/bash" autostart=true autorestart=true