improved dockerfile
Browse files- Dockerfile +1 -0
- startup.sh +1 -0
Dockerfile
CHANGED
|
@@ -10,6 +10,7 @@ RUN apt-get update && \
|
|
| 10 |
# Install Ollama
|
| 11 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 12 |
|
|
|
|
| 13 |
|
| 14 |
RUN useradd -m -u 1000 user
|
| 15 |
USER user
|
|
|
|
| 10 |
# Install Ollama
|
| 11 |
RUN curl -fsSL https://ollama.com/install.sh | sh
|
| 12 |
|
| 13 |
+
RUN ollama pull gemma2:2b
|
| 14 |
|
| 15 |
RUN useradd -m -u 1000 user
|
| 16 |
USER user
|
startup.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
# Start Ollama service
|
|
|
|
| 4 |
ollama serve &
|
| 5 |
|
| 6 |
# Ensure Ollama is ready
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
# Start Ollama service
|
| 4 |
+
#ollama pull gemma2:2b
|
| 5 |
ollama serve &
|
| 6 |
|
| 7 |
# Ensure Ollama is ready
|