Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +7 -5
Dockerfile
CHANGED
@@ -38,17 +38,19 @@ RUN apt-get update
|
|
38 |
# Install Python 3.12, pip, and other necessary development tools
|
39 |
RUN apt-get install -y tzdata git python3.12 python3.12-venv python3.12-dev
|
40 |
|
41 |
-
|
42 |
-
|
43 |
-
|
|
|
44 |
|
45 |
-
|
|
|
46 |
|
47 |
# RUN apt-get update && apt-get install -y python3 python3-pip git
|
48 |
# RUN pip install --upgrade pip
|
49 |
|
50 |
# Install vLLM
|
51 |
-
RUN
|
52 |
|
53 |
RUN useradd -m appuser
|
54 |
USER appuser
|
|
|
38 |
# Install Python 3.12, pip, and other necessary development tools
|
39 |
RUN apt-get install -y tzdata git python3.12 python3.12-venv python3.12-dev
|
40 |
|
41 |
+
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1 \
|
42 |
+
&& update-alternatives --set python3 /usr/bin/python3.12 \
|
43 |
+
&& ln -sf /usr/bin/python3.12-config /usr/bin/python3-config \
|
44 |
+
&& curl -sS https://bootstrap.pypa.io/get-pip.py | python3.12
|
45 |
|
46 |
+
|
47 |
+
RUN python3 --version && python3 -m pip3 --version
|
48 |
|
49 |
# RUN apt-get update && apt-get install -y python3 python3-pip git
|
50 |
# RUN pip install --upgrade pip
|
51 |
|
52 |
# Install vLLM
|
53 |
+
RUN pip3 install vllm==0.10.0 --extra-index-url https://download.pytorch.org/whl/cu113
|
54 |
|
55 |
RUN useradd -m appuser
|
56 |
USER appuser
|