Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
|
@@ -1,6 +1,13 @@
|
|
| 1 |
FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu22.04
|
| 2 |
|
| 3 |
ENV VLLM_LOGGING_LEVEL=DEBUG
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
RUN apt-get update && apt-get install -y python3 python3-pip git
|
| 6 |
RUN pip3 install --upgrade pip
|
|
|
|
| 1 |
FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu22.04
|
| 2 |
|
| 3 |
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
|