Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -8,13 +8,15 @@ RUN curl -fsSL https://ollama.com/install.sh | sh
|
|
8 |
ENV OLLAMA_HOST=0.0.0.0
|
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 |
CMD ollama serve
|
17 |
USER appuser
|
|
|
|
|
18 |
# Command to run the application
|
19 |
|
20 |
|
|
|
8 |
ENV OLLAMA_HOST=0.0.0.0
|
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 |
CMD ollama serve
|
17 |
USER appuser
|
18 |
+
|
19 |
+
RUN ollama pull mixtral && ollama pull nomic-embed-text
|
20 |
# Command to run the application
|
21 |
|
22 |
|