Files
vllm-omni/docker/Dockerfile.ci
T

25 lines
869 B
Docker
Raw Normal View History

2025-12-04 23:23:22 +08:00
ARG VLLM_BASE_IMAGE=vllm/vllm-openai
2026-02-03 12:24:45 +08:00
ARG VLLM_BASE_TAG=v0.15.0
2025-12-04 23:23:22 +08:00
FROM ${VLLM_BASE_IMAGE}:${VLLM_BASE_TAG}
ARG APP_DIR=/workspace/vllm-omni
WORKDIR ${APP_DIR}
2025-12-04 23:23:22 +08:00
COPY . .
# Install system dependencies
RUN apt-get update && \
apt-get install -y ffmpeg && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
2026-02-05 10:52:28 +00:00
# Install vLLM wheel for the specific commit
# URL format: https://wheels.vllm.ai/<commit_hash>/
# Current vLLM commit: a7be77beef5f59d9d349818b4f2860483551b255
RUN uv pip install --system --upgrade --force-reinstall vllm --extra-index-url https://wheels.vllm.ai/a7be77beef5f59d9d349818b4f2860483551b255
2025-12-04 23:23:22 +08:00
# Install vllm-omni into the same uv-managed Python environment used by the base image.
RUN uv pip install --python "$(python3 -c 'import sys; print(sys.executable)')" --no-cache-dir ".[dev]"
2025-12-04 23:23:22 +08:00
RUN ln -sf /usr/bin/python3 /usr/bin/python
2025-12-04 23:23:22 +08:00
ENTRYPOINT []