docker: fix launch?
This commit is contained in:
parent
448ebcbe8d
commit
b1d73abfd8
|
@ -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
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "LAUNCHING CONTAINER..."
|
||||
|
||||
cd /local-llm-server || exit
|
||||
git fetch
|
||||
git reset --hard origin/master
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in New Issue