Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -3,7 +3,7 @@ FROM ubuntu:latest
|
|
3 |
|
4 |
RUN apt update && apt install curl -y
|
5 |
|
6 |
-
|
7 |
|
8 |
ENV OLLAMA_HOST=0.0.0.0
|
9 |
|
@@ -12,7 +12,7 @@ RUN useradd -m -u 1001 appuser && chown -R appuser:appuser /home
|
|
12 |
|
13 |
USER appuser
|
14 |
|
15 |
-
|
16 |
|
17 |
# Create the directory and give appropriate permissions
|
18 |
#RUN mkdir -p /.ollama && chmod 777 /.ollama
|
|
|
3 |
|
4 |
RUN apt update && apt install curl -y
|
5 |
|
6 |
+
RUN curl -fsSL https://ollama.com/install.sh | sh
|
7 |
|
8 |
ENV OLLAMA_HOST=0.0.0.0
|
9 |
|
|
|
12 |
|
13 |
USER appuser
|
14 |
|
15 |
+
|
16 |
|
17 |
# Create the directory and give appropriate permissions
|
18 |
#RUN mkdir -p /.ollama && chmod 777 /.ollama
|