Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -14,8 +14,8 @@ RUN apt-get update && apt-get install curl -y
|
|
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 |
# Below is to fix embedding bug as per
|
20 |
# 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
|
21 |
|
@@ -24,7 +24,7 @@ RUN curl https://ollama.ai/install.sh | sh
|
|
24 |
RUN mkdir -p /.ollama
|
25 |
RUN chmod 777 /.ollama
|
26 |
|
27 |
-
|
28 |
|
29 |
CMD ollama serve
|
30 |
#
|
|
|
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 |
+
RUN curl -fsSL https://ollama.com/install.sh | sh
|
19 |
# Below is to fix embedding bug as per
|
20 |
# 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
|
21 |
|
|
|
24 |
RUN mkdir -p /.ollama
|
25 |
RUN chmod 777 /.ollama
|
26 |
|
27 |
+
WORKDIR /.ollama
|
28 |
|
29 |
CMD ollama serve
|
30 |
#
|