Pavithiran commited on
Commit
4b1732a
·
verified ·
1 Parent(s): 7d8b514

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ubuntu:22.04
2
+
3
+ # Install dependencies
4
+ RUN apt update && apt install -y curl git
5
+
6
+ # Install Ollama
7
+ RUN curl -fsSL https://ollama.com/install.sh | sh
8
+
9
+ # Expose API port
10
+ EXPOSE 11434
11
+
12
+ # Run Ollama on start
13
+ CMD ["ollama", "serve"]