Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
FROM ubuntu:latest
|
|
|
|
|
|
|
|
|
|
|
2 |
RUN apt update && apt install curl -y
|
3 |
|
4 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
@@ -6,7 +11,7 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
|
|
6 |
ENV OLLAMA_HOST=0.0.0.0
|
7 |
|
8 |
|
9 |
-
RUN useradd -m -u 1000 appuser
|
10 |
#&& chown -R appuser:appuser /home/appuser
|
11 |
|
12 |
|
|
|
1 |
FROM ubuntu:latest
|
2 |
+
|
3 |
+
RUN useradd -m -u 1000 appuser
|
4 |
+
|
5 |
+
USER appuser
|
6 |
+
|
7 |
RUN apt update && apt install curl -y
|
8 |
|
9 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
|
|
11 |
ENV OLLAMA_HOST=0.0.0.0
|
12 |
|
13 |
|
14 |
+
#RUN useradd -m -u 1000 appuser
|
15 |
#&& chown -R appuser:appuser /home/appuser
|
16 |
|
17 |
|