File size: 457 Bytes
bc42b23
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM ollama/ollama:latest

# Install dependencies
RUN apt-get update && apt-get install -y wget unzip curl

# Install Ngrok
RUN wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-stable-linux-amd64.zip
RUN unzip ngrok-stable-linux-amd64.zip
RUN mv ngrok /usr/local/bin/

# Set Ngrok auth token directly in the Dockerfile
ENV NGROK_AUTH_TOKEN=your-ngrok-auth-token

# Copy start script
COPY start.sh /start.sh
RUN chmod +x /start.sh

# Set CMD
CMD ["/start.sh"]