Spaces:
Runtime error
Runtime error
FROM ollama/ollama:latest | |
# Install dependencies (if any) | |
RUN apt-get update && apt-get install -y wget unzip curl | |
# Install Ngrok (example setup) | |
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 | |
ENV NGROK_AUTH_TOKEN=2fjNALLd8Guj8P4RCXvnvfDJ3Fp_6t8DR3vXx9U8qH69j6moY | |
# Copy start script | |
COPY start.sh /start.sh | |
RUN chmod +x /start.sh | |
# Override ENTRYPOINT to prevent ollama from interpreting the command | |
ENTRYPOINT [] | |
# Set CMD to run the start script | |
CMD ["/start.sh"] |