Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -9,11 +9,12 @@ ENV OLLAMA_HOST=0.0.0.0
|
|
9 |
|
10 |
RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
|
11 |
|
12 |
-
USER appuser
|
13 |
|
14 |
# Create the directory and give appropriate permissions
|
15 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
16 |
|
|
|
|
|
17 |
# Command to run the application
|
18 |
CMD ollama serve && ollama pull mixtral
|
19 |
|
|
|
9 |
|
10 |
RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
|
11 |
|
|
|
12 |
|
13 |
# Create the directory and give appropriate permissions
|
14 |
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
15 |
|
16 |
+
|
17 |
+
USER appuser
|
18 |
# Command to run the application
|
19 |
CMD ollama serve && ollama pull mixtral
|
20 |
|