Spaces:
Paused
Paused
Commit
·
a433b1d
1
Parent(s):
f9ea3dd
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -7,13 +7,13 @@ RUN apt install -y git python python3 python3-pip wget
|
|
7 |
|
8 |
EXPOSE 7860
|
9 |
|
|
|
|
|
10 |
RUN export PATH="/usr/local/cuda/bin:$PATH"
|
11 |
RUN wget -qO- "https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
|
12 |
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python --no-cache-dir
|
13 |
COPY requirements.txt ./
|
14 |
|
15 |
-
RUN useradd -m -u 1000 user
|
16 |
-
|
17 |
USER user
|
18 |
|
19 |
ENV HOME=/home/user \
|
|
|
7 |
|
8 |
EXPOSE 7860
|
9 |
|
10 |
+
RUN useradd -m -u 1000 user
|
11 |
+
|
12 |
RUN export PATH="/usr/local/cuda/bin:$PATH"
|
13 |
RUN wget -qO- "https://cmake.org/files/v3.17/cmake-3.17.0-Linux-x86_64.tar.gz" | tar --strip-components=1 -xz -C /usr/local
|
14 |
RUN CMAKE_ARGS="-DLLAMA_CUBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python --no-cache-dir
|
15 |
COPY requirements.txt ./
|
16 |
|
|
|
|
|
17 |
USER user
|
18 |
|
19 |
ENV HOME=/home/user \
|