ngandugilbert commited on
Commit
bc42b23
·
verified ·
1 Parent(s): 18d34e9

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ollama/ollama:latest
2
+
3
+ # Install dependencies
4
+ RUN apt-get update && apt-get install -y wget unzip curl
5
+
6
+ # Install Ngrok
7
+ RUN wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-stable-linux-amd64.zip
8
+ RUN unzip ngrok-stable-linux-amd64.zip
9
+ RUN mv ngrok /usr/local/bin/
10
+
11
+ # Set Ngrok auth token directly in the Dockerfile
12
+ ENV NGROK_AUTH_TOKEN=your-ngrok-auth-token
13
+
14
+ # Copy start script
15
+ COPY start.sh /start.sh
16
+ RUN chmod +x /start.sh
17
+
18
+ # Set CMD
19
+ CMD ["/start.sh"]