Spaces:
Sleeping
Sleeping
Commit
·
165b165
1
Parent(s):
2a89aa0
Update Dockerfile
Browse files- Dockerfile +8 -3
Dockerfile
CHANGED
|
@@ -4,11 +4,16 @@ USER root
|
|
| 4 |
|
| 5 |
ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
| 12 |
|
| 13 |
RUN python3 -m pip install -U --no-cache-dir pip setuptools wheel
|
| 14 |
|
|
|
|
| 4 |
|
| 5 |
ENV PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python
|
| 6 |
|
| 7 |
+
RUN git clone https://github.com/ggerganov/llama.cpp.git
|
| 8 |
+
RUN cd llama.cpp
|
| 9 |
+
RUN make
|
| 10 |
+
RUN wget https://huggingface.co/OpenBuddy/openbuddy-ggml/resolve/main/openbuddy-openllama-3b-v10-q5_0.bin
|
| 11 |
|
| 12 |
+
COPY . ./
|
| 13 |
|
| 14 |
+
RUN chmod -R 777 ./
|
| 15 |
+
|
| 16 |
+
WORKDIR ./
|
| 17 |
|
| 18 |
RUN python3 -m pip install -U --no-cache-dir pip setuptools wheel
|
| 19 |
|