From 4cbde7a460838ff4aa4c349ee67538d69f10a719 Mon Sep 17 00:00:00 2001 From: tzhouam Date: Tue, 3 Feb 2026 05:06:51 +0000 Subject: [PATCH] Update Dockerfile.ci to improve installation commands and ensure Python environment consistency Signed-off-by: tzhouam --- docker/Dockerfile.ci | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docker/Dockerfile.ci b/docker/Dockerfile.ci index 4cbcb4d08..c5d847345 100644 --- a/docker/Dockerfile.ci +++ b/docker/Dockerfile.ci @@ -3,19 +3,18 @@ ARG VLLM_BASE_TAG=v0.15.0 FROM ${VLLM_BASE_IMAGE}:${VLLM_BASE_TAG} ARG APP_DIR=/workspace/vllm-omni WORKDIR ${APP_DIR} + COPY . . + # Install system dependencies RUN apt-get update && \ - apt-get install -y ffmpeg && \ - apt-get clean && \ - rm -rf /var/lib/apt/lists/* - -# Install vLLM wheel for the specific commit -# URL format: https://wheels.vllm.ai// -# Current vLLM commit: f176443446f659dbab5315e056e605d8984fd976 (v0.15.0) -RUN uv pip install --system --upgrade --force-reinstall vllm --extra-index-url https://wheels.vllm.ai/f176443446f659dbab5315e056e605d8984fd976 + apt-get install -y ffmpeg && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* # Install vllm-omni into the same uv-managed Python environment used by the base image. -RUN uv pip install --system --no-cache-dir ".[dev]" +RUN uv pip install --python "$(python3 -c 'import sys; print(sys.executable)')" --no-cache-dir ".[dev]" + RUN ln -sf /usr/bin/python3 /usr/bin/python + ENTRYPOINT []