Spaces:
No application file
No application file
Create Dockerfile
Browse files- 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"]
|