Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -47,8 +47,7 @@ COPY --chown=appuser model_llm_local/model_ollama3 /usr/share/ollama/.ollama/mod
|
|
47 |
|
48 |
# Set the entry point script as the default command
|
49 |
#ENTRYPOINT ["/entrypoint.sh"]
|
50 |
-
CMD ollama serve
|
51 |
-
|
52 |
# Set the model as an environment variable (this can be overridden)
|
53 |
#ENV model="nomic-embed-text","yayarun/mixtral_erbot"
|
54 |
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 10 && 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"
|