Spaces:
Paused
Paused
Commit
·
df3a501
1
Parent(s):
5e4e22c
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -8,7 +8,9 @@ WORKDIR /app
|
|
| 8 |
|
| 9 |
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
|
| 10 |
RUN CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
|
| 13 |
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
| 14 |
RUN apt-get install git-lfs
|
|
|
|
| 8 |
|
| 9 |
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
|
| 10 |
RUN CMAKE_ARGS="-DLLAMA_OPENBLAS=on" FORCE_CMAKE=1 pip install llama-cpp-python
|
| 11 |
+
COPY requirements.txt ./
|
| 12 |
+
RUN pip install --upgrade pip && \
|
| 13 |
+
pip install -r requirements.txt
|
| 14 |
|
| 15 |
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
|
| 16 |
RUN apt-get install git-lfs
|