Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -22,6 +22,7 @@ RUN apt-get update && \
|
|
22 |
libxmlsec1-dev \
|
23 |
libffi-dev \
|
24 |
liblzma-dev \
|
|
|
25 |
nvidia-driver-515 \
|
26 |
ffmpeg
|
27 |
|
@@ -32,7 +33,6 @@ ENV HOME=/home/${USER} \
|
|
32 |
PATH=${HOME}/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${PATH}
|
33 |
WORKDIR ${HOME}/app
|
34 |
|
35 |
-
COPY --from=ollama/ollama:0.1.49-rc13 /go/src/github.com/ollama/ollama/ollama /bin/ollama
|
36 |
|
37 |
ENV NVIDIA_VISIBLE_DEVICES=all
|
38 |
RUN curl https://pyenv.run | bash
|
@@ -45,7 +45,8 @@ RUN pyenv install ${PYTHON_VERSION} && \
|
|
45 |
pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
|
46 |
|
47 |
COPY --chown=1000 . ${HOME}/app
|
48 |
-
|
|
|
49 |
RUN git clone https://github.com/ggerganov/llama.cpp
|
50 |
RUN pip install -r llama.cpp/requirements.txt
|
51 |
COPY groups_merged.txt ${HOME}/app/llama.cpp/.
|
|
|
22 |
libxmlsec1-dev \
|
23 |
libffi-dev \
|
24 |
liblzma-dev \
|
25 |
+
golang-go \
|
26 |
nvidia-driver-515 \
|
27 |
ffmpeg
|
28 |
|
|
|
33 |
PATH=${HOME}/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${PATH}
|
34 |
WORKDIR ${HOME}/app
|
35 |
|
|
|
36 |
|
37 |
ENV NVIDIA_VISIBLE_DEVICES=all
|
38 |
RUN curl https://pyenv.run | bash
|
|
|
45 |
pip install "huggingface-hub" "hf-transfer" "gradio[oauth]>=4.28.0" "gradio_huggingfacehub_search==0.0.7" "APScheduler"
|
46 |
|
47 |
COPY --chown=1000 . ${HOME}/app
|
48 |
+
|
49 |
+
RUN git clone https://github.com/ollama/ollama
|
50 |
RUN git clone https://github.com/ggerganov/llama.cpp
|
51 |
RUN pip install -r llama.cpp/requirements.txt
|
52 |
COPY groups_merged.txt ${HOME}/app/llama.cpp/.
|