Spaces:
No application file
No application file
Download Dockerfile from ngandugilbert/test: direct link, hf CLI and curl.
- Browser
- Download file 457 Bytes
-
https://huggingface.co/spaces/ngandugilbert/test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ngandugilbert/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ngandugilbert/test/resolve/main/Dockerfile
457 Bytes
| 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"] |