asdjust docker

This commit is contained in:
Cyberes 2023-09-27 00:04:37 -06:00
parent aba2e5b9c0
commit 90bb68115f
2 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,8 @@ COPY --from=build /app /app
COPY --from=build /jupyterlab /jupyterlab
RUN cp /local-llm-server/other/vllm/Docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
RUN echo '#!/bin/bash\n/venv/bin/python /local-llm-server/other/vllm/vllm_api_server.py --host 0.0.0.0 --port 7000 $(cat /storage/vllm/cmd.txt)' > /app/start-vllm.sh
COPY ./rathole-client.toml /app/client.toml
COPY ./jupyter /app/jupyter
COPY ./ssh /root/.ssh

View File

@ -2,7 +2,7 @@
nodaemon=true
[program:api_server]
command=/venv/bin/python /local-llm-server/other/vllm/vllm_api_server.py --host 0.0.0.0 --port 7000 $(cat /storage/vllm/cmd.txt)
command=bash /app/start-vllm.sh
autostart=true
autorestart=true
stdout_logfile=/dev/fd/1