Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
@@ -4,10 +4,6 @@ ENV VLLM_LOGGING_LEVEL=DEBUG
|
|
4 |
ENV HF_HOME=/tmp/.cache/huggingface
|
5 |
ENV OMP_NUM_THREADS=1
|
6 |
|
7 |
-
RUN useradd -m appuser
|
8 |
-
USER appuser
|
9 |
-
|
10 |
-
RUN mkdir -p /tmp/.cache/huggingface
|
11 |
|
12 |
RUN apt-get update && apt-get install -y python3 python3-pip git
|
13 |
RUN pip3 install --upgrade pip
|
@@ -15,6 +11,11 @@ RUN pip3 install --upgrade pip
|
|
15 |
# Install vLLM
|
16 |
RUN pip3 install vllm==0.10.0 --extra-index-url https://download.pytorch.org/whl/cu113
|
17 |
|
|
|
|
|
|
|
|
|
|
|
18 |
# Download at build time,
|
19 |
# to ensure during restart we won't have to wait for the download from HF (only wait for docker pull).
|
20 |
# In Docker Spaces, the secrets management is different for security reasons.
|
|
|
4 |
ENV HF_HOME=/tmp/.cache/huggingface
|
5 |
ENV OMP_NUM_THREADS=1
|
6 |
|
|
|
|
|
|
|
|
|
7 |
|
8 |
RUN apt-get update && apt-get install -y python3 python3-pip git
|
9 |
RUN pip3 install --upgrade pip
|
|
|
11 |
# Install vLLM
|
12 |
RUN pip3 install vllm==0.10.0 --extra-index-url https://download.pytorch.org/whl/cu113
|
13 |
|
14 |
+
RUN useradd -m appuser
|
15 |
+
USER appuser
|
16 |
+
|
17 |
+
RUN mkdir -p /tmp/.cache/huggingface
|
18 |
+
|
19 |
# Download at build time,
|
20 |
# to ensure during restart we won't have to wait for the download from HF (only wait for docker pull).
|
21 |
# In Docker Spaces, the secrets management is different for security reasons.
|