Spaces:
Running
on
T4
Running
on
T4
Update Dockerfile
Browse files- Dockerfile +5 -7
Dockerfile
CHANGED
@@ -41,7 +41,7 @@ RUN add-apt-repository ppa:deadsnakes/ppa
|
|
41 |
RUN apt-get update
|
42 |
|
43 |
# Install Python 3.12, pip, and other necessary development tools
|
44 |
-
RUN apt-get install -y tzdata git curl python3.12 python3.12-venv python3.12-dev python3.12-full python3-pip python3-setuptools
|
45 |
|
46 |
# RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
47 |
# RUN python3.12 get-pip.py
|
@@ -56,13 +56,11 @@ RUN python3 --version && python3 -m pip --version
|
|
56 |
# RUN apt-get update && apt-get install -y python3 python3-pip git
|
57 |
# RUN pip install --upgrade pip
|
58 |
|
59 |
-
# Install uv
|
|
|
|
|
60 |
# Install vLLM
|
61 |
-
RUN
|
62 |
-
export PATH="/root/.local/bin:$PATH" && \
|
63 |
-
uv venv && \
|
64 |
-
. .venv/bin/activate && \
|
65 |
-
uv pip install --index-strategy unsafe-best-match vllm==0.10.0 --extra-index-url https://download.pytorch.org/whl/cu128
|
66 |
|
67 |
|
68 |
|
|
|
41 |
RUN apt-get update
|
42 |
|
43 |
# Install Python 3.12, pip, and other necessary development tools
|
44 |
+
RUN apt-get install -y tzdata git curl python3.12 python3.12-venv python3.12-dev python3.12-full python3-pip python3-setuptools
|
45 |
|
46 |
# RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
47 |
# RUN python3.12 get-pip.py
|
|
|
56 |
# RUN apt-get update && apt-get install -y python3 python3-pip git
|
57 |
# RUN pip install --upgrade pip
|
58 |
|
59 |
+
# Install uv for faster install
|
60 |
+
RUN python3 -m pip install uv
|
61 |
+
|
62 |
# Install vLLM
|
63 |
+
RUN uv pip install --system --index-strategy unsafe-best-match vllm==0.10.0 --extra-index-url https://download.pytorch.org/whl/cu128
|
|
|
|
|
|
|
|
|
64 |
|
65 |
|
66 |
|