Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -23,10 +23,10 @@ RUN chmod +x /entrypoint.sh
|
|
| 23 |
|
| 24 |
# Set the entry point script as the default command
|
| 25 |
ENTRYPOINT ["/entrypoint.sh"]
|
| 26 |
-
CMD ["ollama", "serve"]
|
| 27 |
|
| 28 |
# Set the model as an environment variable (this can be overridden)
|
| 29 |
-
ENV model
|
| 30 |
|
| 31 |
# Expose the server port
|
| 32 |
EXPOSE 7860
|
|
|
|
| 23 |
|
| 24 |
# Set the entry point script as the default command
|
| 25 |
ENTRYPOINT ["/entrypoint.sh"]
|
| 26 |
+
#CMD ["ollama", "serve"]
|
| 27 |
|
| 28 |
# Set the model as an environment variable (this can be overridden)
|
| 29 |
+
ENV model="nomic-embed-text"
|
| 30 |
|
| 31 |
# Expose the server port
|
| 32 |
EXPOSE 7860
|