Pratik Dwivedi commited on
Commit
3dabb14
·
1 Parent(s): 8590e3b

Add Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the ollama/ollama image from Docker Hub
2
+ FROM ollama/ollama
3
+
4
+ # Set the working directory
5
+ WORKDIR /root/.ollama
6
+
7
+ # Expose the necessary port
8
+ EXPOSE 11434
9
+
10
+ # Command to run the application
11
+ CMD ["ollama", "run", "llama2:7b-chat"]