asdjust docker
This commit is contained in:
parent
aba2e5b9c0
commit
90bb68115f
|
@ -54,6 +54,8 @@ COPY --from=build /app /app
|
||||||
COPY --from=build /jupyterlab /jupyterlab
|
COPY --from=build /jupyterlab /jupyterlab
|
||||||
RUN cp /local-llm-server/other/vllm/Docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
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 ./rathole-client.toml /app/client.toml
|
||||||
COPY ./jupyter /app/jupyter
|
COPY ./jupyter /app/jupyter
|
||||||
COPY ./ssh /root/.ssh
|
COPY ./ssh /root/.ssh
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
nodaemon=true
|
nodaemon=true
|
||||||
|
|
||||||
[program:api_server]
|
[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
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stdout_logfile=/dev/fd/1
|
stdout_logfile=/dev/fd/1
|
||||||
|
|
Reference in New Issue