Spaces:
Running
Running
Update Dockerfile to use python:3.12-slim for vllm==0.10.1 compatibility
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -5,11 +5,14 @@ WORKDIR /app
|
|
5 |
RUN apt-get update && apt-get install -y \
|
6 |
build-essential \
|
7 |
libpq-dev \
|
|
|
|
|
8 |
&& rm -rf /var/lib/apt/lists/*
|
9 |
|
10 |
COPY requirements.txt .
|
11 |
|
12 |
-
#
|
|
|
13 |
RUN pip install --no-cache-dir vllm==0.10.1 --extra-index-url https://download.pytorch.org/whl/cu128
|
14 |
|
15 |
# Install remaining dependencies
|
|
|
5 |
RUN apt-get update && apt-get install -y \
|
6 |
build-essential \
|
7 |
libpq-dev \
|
8 |
+
curl \
|
9 |
+
git \
|
10 |
&& rm -rf /var/lib/apt/lists/*
|
11 |
|
12 |
COPY requirements.txt .
|
13 |
|
14 |
+
# Upgrade pip and install vLLM with GPU support first (fetches compatible Torch)
|
15 |
+
RUN pip install --upgrade pip
|
16 |
RUN pip install --no-cache-dir vllm==0.10.1 --extra-index-url https://download.pytorch.org/whl/cu128
|
17 |
|
18 |
# Install remaining dependencies
|