[CI/Bugfix] Move CI editable APP_DIR to /opt/vllm-omni for k8s package discovery (#5364) (#5368)

Signed-off-by: wangyu <410167048@qq.com>
This commit is contained in:
wangyu authored and GitHub committed 2026-07-24 16:34:30 +00:00
1 parent 93786c9cd3
commit ff0a76e31c
2 files changed
+93 -2

No files matched your search

+5 -2
View File
@@ -10,7 +10,10 @@ ARG VLLM_BASE_TAG=v0.25.0
# everything except the actual project dir, since that should not
# change much across branches.
FROM ${VLLM_BASE_IMAGE}:${VLLM_BASE_TAG} AS deps
ARG APP_DIR=/workspace/vllm-omni
# Keep APP_DIR outside /workspace so k8s Buildkite workspace mounts cannot
# shadow the editable install target (#5364). Docker WORKDIR creates /opt if
# needed.
ARG APP_DIR=/opt/vllm-omni
WORKDIR ${APP_DIR}
RUN ln -sf /usr/bin/python3 /usr/bin/python
@@ -47,7 +50,7 @@ RUN uv pip install --system -e ".[dev]"
# the heavy base image to build it. Editable install above already
# registered APP_DIR, so we must not re-pip-install after COPY.
FROM deps
ARG APP_DIR=/workspace/vllm-omni
ARG APP_DIR=/opt/vllm-omni
WORKDIR ${APP_DIR}
COPY --link . .