2025-12-04 23:23:22 +08:00
|
|
|
ARG VLLM_BASE_IMAGE=vllm/vllm-openai
|
2026-01-21 00:25:25 +08:00
|
|
|
ARG VLLM_BASE_TAG=v0.14.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}
|
2026-01-28 11:15:54 +08:00
|
|
|
COPY . .
|
2026-01-28 16:21:29 +08:00
|
|
|
# Install system dependencies
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
|
apt-get install -y ffmpeg && \
|
|
|
|
|
apt-get clean && \
|
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
2026-01-28 11:15:54 +08:00
|
|
|
|
2026-01-28 16:40:06 +08:00
|
|
|
# Install vLLM wheel for the specific commit
|
2026-01-29 08:25:51 +00:00
|
|
|
# URL format: https://wheels.vllm.ai/<commit_hash>/
|
|
|
|
|
# Current vLLM commit: 706f123b23b75097da9a3f51ce538bd784fdc75b
|
|
|
|
|
RUN uv pip install --system --upgrade --force-reinstall vllm --extra-index-url https://wheels.vllm.ai/706f123b23b75097da9a3f51ce538bd784fdc75b
|
2026-01-29 08:05:57 +00:00
|
|
|
|
2026-01-28 16:40:06 +08:00
|
|
|
# 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 ln -sf /usr/bin/python3 /usr/bin/python
|
|
|
|
|
ENTRYPOINT []
|