[Docker] Cache test dependencies before vLLM install (#51184)
Signed-off-by: mgoin <mgoin64@gmail.com> Co-authored-by: OpenAI Codex <codex@openai.com> Co-authored-by: OpenAI Codex <noreply@openai.com>
This commit is contained in:
co-authored by
OpenAI Codex
OpenAI Codex
parent
355a338b8f
commit
21c667aa64
@@ -17,6 +17,9 @@ The edges of the build graph represent:
|
||||
|
||||
- `RUN --mount=(.\*)from=...` dependencies (with a dotted line and an empty diamond arrow head)
|
||||
|
||||
The `test-deps` stage branches from `vllm-runtime-base` so Git and the test
|
||||
requirements remain cached independently of per-commit vLLM wheels and source.
|
||||
|
||||
> <figure markdown="span">
|
||||
> { align="center" alt="query" width="100%" }
|
||||
> </figure>
|
||||
@@ -28,6 +31,7 @@ The edges of the build graph represent:
|
||||
> ```bash
|
||||
> dockerfilegraph \
|
||||
> -o png \
|
||||
> --concentrate \
|
||||
> --legend \
|
||||
> --dpi 200 \
|
||||
> --max-label-length 50 \
|
||||
@@ -47,6 +51,7 @@ The edges of the build graph represent:
|
||||
> --dpi 200 \
|
||||
> --max-label-length 50 \
|
||||
> --filename docker/Dockerfile \
|
||||
> --concentrate \
|
||||
> --legend
|
||||
> ```
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user