Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -19,7 +19,6 @@ COPY . .
|
|
19 |
# setting build related env vars
|
20 |
ENV CUDA_DOCKER_ARCH=all
|
21 |
ENV LLAMA_CUBLAS=1
|
22 |
-
ENV PIP_ROOT_USER_ACTION=ignore
|
23 |
|
24 |
# Install depencencies
|
25 |
RUN python -m pip install --upgrade pip pytest cmake \
|
@@ -27,7 +26,7 @@ RUN python -m pip install --upgrade pip pytest cmake \
|
|
27 |
pydantic-settings starlette-context gradio huggingface_hub hf_transfer
|
28 |
|
29 |
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
|
30 |
-
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install --timeout 100 -r requirements.txt
|
31 |
|
32 |
RUN useradd -m -u 1000 user
|
33 |
# Switch to the "user" user
|
|
|
19 |
# setting build related env vars
|
20 |
ENV CUDA_DOCKER_ARCH=all
|
21 |
ENV LLAMA_CUBLAS=1
|
|
|
22 |
|
23 |
# Install depencencies
|
24 |
RUN python -m pip install --upgrade pip pytest cmake \
|
|
|
26 |
pydantic-settings starlette-context gradio huggingface_hub hf_transfer
|
27 |
|
28 |
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" pip install llama-cpp-python
|
29 |
+
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 PIP_ROOT_USER_ACTION=ignore pip install --ignore-installed --timeout 100 -r requirements.txt
|
30 |
|
31 |
RUN useradd -m -u 1000 user
|
32 |
# Switch to the "user" user
|