Awesome-Developer commited on
Commit
e53a242
·
verified ·
1 Parent(s): ca1c255

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9
2
+
3
+ # Install Ollama and Tmate for SSH access
4
+ RUN apt-get update && apt-get install -y curl tmate
5
+ RUN curl -fsSL https://ollama.com/install.sh | sh
6
+
7
+ WORKDIR /app
8
+ COPY . .
9
+ RUN pip install -r requirements.txt
10
+
11
+ # Start Ollama and Tmate
12
+ CMD ollama serve & tmate -F