Spaces:
Running
Running
init
Browse files- Dockerfile +1 -1
- start.sh +3 -0
Dockerfile
CHANGED
|
@@ -12,5 +12,5 @@ WORKDIR /app
|
|
| 12 |
COPY --chown=user . /app
|
| 13 |
RUN pip install -e .
|
| 14 |
|
| 15 |
-
CMD ["
|
| 16 |
|
|
|
|
| 12 |
COPY --chown=user . /app
|
| 13 |
RUN pip install -e .
|
| 14 |
|
| 15 |
+
CMD ["start.sh"]
|
| 16 |
|
start.sh
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
python -m starvector.serve.vllm_api_gradio.controller --host 0.0.0.0 --port 10000 &
|
| 2 |
+
python -m starvector.serve.vllm_api_gradio.gradio_web_server --controller http://localhost:10000 --model-list-mode reload --port 7000 &
|
| 3 |
+
python -m starvector.serve.vllm_api_gradio.model_worker --host 0.0.0.0 --controller http://localhost:10000 --port 40000 --worker http://localhost:40000 --model-name /home/agent_h/data/starvector-1b-im2svg --vllm-base-url http://localhost:8000 &
|