Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -14,7 +14,10 @@ RUN curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | gpg --dearm
|
|
14 |
RUN apt-get update && apt-get install -y nvidia-container-toolkit || true
|
15 |
|
16 |
# Install application
|
17 |
-
RUN curl https://ollama.ai/install.sh | sh
|
|
|
|
|
|
|
18 |
|
19 |
# Create the directory and give appropriate permissions
|
20 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
|
|
14 |
RUN apt-get update && apt-get install -y nvidia-container-toolkit || true
|
15 |
|
16 |
# Install application
|
17 |
+
# RUN curl https://ollama.ai/install.sh | sh
|
18 |
+
# Below is to fix embedding bug as per
|
19 |
+
RUN curl -fsSL https://ollama.com/install.sh | sed 's#https://ollama.com/download#https://github.com/jmorganca/ollama/releases/download/v0.1.29#' | sh
|
20 |
+
|
21 |
|
22 |
# Create the directory and give appropriate permissions
|
23 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|