From b1d73abfd8051e204a5231345ac79d6b94cb40df Mon Sep 17 00:00:00 2001 From: Cyberes Date: Sun, 15 Oct 2023 10:43:35 -0600 Subject: [PATCH] docker: fix launch? --- other/vllm/Docker/Dockerfile | 2 +- other/vllm/Docker/start-container.sh | 2 ++ other/vllm/Docker/supervisord.conf | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/other/vllm/Docker/Dockerfile b/other/vllm/Docker/Dockerfile index b4c0bda..ca210d9 100644 --- a/other/vllm/Docker/Dockerfile +++ b/other/vllm/Docker/Dockerfile @@ -24,7 +24,7 @@ WORKDIR /local-llm-server # The local local-llm-server repo may be cached, so we will fetch and reset to the remote every time. # Also, make sure there weren't any pip deps added. -ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache +# ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache RUN /venv/bin/pip install git+https://github.com/vllm-project/vllm RUN git fetch; git reset --hard origin/master RUN /venv/bin/pip install -r requirements.txt diff --git a/other/vllm/Docker/start-container.sh b/other/vllm/Docker/start-container.sh index 0e51cea..2ad4d19 100644 --- a/other/vllm/Docker/start-container.sh +++ b/other/vllm/Docker/start-container.sh @@ -1,5 +1,7 @@ #!/bin/bash +echo "LAUNCHING CONTAINER..." + cd /local-llm-server || exit git fetch git reset --hard origin/master diff --git a/other/vllm/Docker/supervisord.conf b/other/vllm/Docker/supervisord.conf index 907a68c..bb9816a 100644 --- a/other/vllm/Docker/supervisord.conf +++ b/other/vllm/Docker/supervisord.conf @@ -24,7 +24,7 @@ user=apiserver environment=HOME="/home/apiserver",USER="apiserver" [program:jupyter] -command=/jupyterlab/bin/jupyter lab --allow-root --ip=0.0.0.0 --no-browser --ServerApp.trust_xheaders=True --ServerApp.disable_check_xsrf=False --ServerApp.allow_remote_access=True --ServerApp.allow_origin='*' --ServerApp.allow_credentials=True --notebook-dir /notebooks +command=/jupyterlab/bin/jupyter lab --no-browser --LabApp.trust_xheaders=True --LabApp.disable_check_xsrf=False --LabApp.allow_remote_access=True --LabApp.allow_origin='*' environment=SHELL="/bin/bash" autostart=true autorestart=true