mfoud444 commited on
Commit
9335dbd
·
verified ·
1 Parent(s): d880d68

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ollama/ollama
2
+
3
+ # Expose the desired port
4
+ EXPOSE 7860
5
+
6
+ # Pre-pull the deepseek-r1:7b model
7
+ RUN ollama pull deepseek-r1:7b
8
+
9
+ # Optional: create a default model tag (optional)
10
+ # RUN ollama create deepseek-r1:7b --tag default
11
+
12
+ # Start Ollama on container startup
13
+ CMD ["ollama", "serve"]