Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -47,7 +47,7 @@ RUN userdel ubuntu && useradd -m -u 1000 appuser
|
|
47 |
|
48 |
# Set the entry point script as the default command
|
49 |
#ENTRYPOINT ["/entrypoint.sh"]
|
50 |
-
CMD ollama serve & sleep
|
51 |
# Set the model as an environment variable (this can be overridden)
|
52 |
#ENV model="nomic-embed-text","yayarun/mixtral_erbot"
|
53 |
ENV OLLAMA_MODELS="/usr/share/ollama/.ollama/models"
|
|
|
47 |
|
48 |
# Set the entry point script as the default command
|
49 |
#ENTRYPOINT ["/entrypoint.sh"]
|
50 |
+
CMD ollama serve & sleep 30 && ollama pull llama3:8b-instruct-q8_0
|
51 |
# Set the model as an environment variable (this can be overridden)
|
52 |
#ENV model="nomic-embed-text","yayarun/mixtral_erbot"
|
53 |
ENV OLLAMA_MODELS="/usr/share/ollama/.ollama/models"
|