Spaces:
Running
Running
Download dockerfile from tertrxcuvuvjvj/New: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/tertrxcuvuvjvj/New/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/tertrxcuvuvjvj/New/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/tertrxcuvuvjvj/New/resolve/main/dockerfile
361 Bytes
| FROM ubuntu:22.04 | |
| # Basic tools aur web terminal (ttyd) install karna | |
| RUN apt-get update && apt-get install -y \ | |
| ttyd \ | |
| curl \ | |
| wget \ | |
| unzip \ | |
| openjdk-17-jdk \ | |
| git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Hugging Face default port 7860 ko expose karna | |
| EXPOSE 7860 | |
| # Terminal ko web par run karna | |
| CMD ["ttyd", "-W", "-p", "7860", "bash"] | |