Download Dockerfile from Arnavpro/Tg: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/Arnavpro/Tg/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Arnavpro/Tg/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Arnavpro/Tg/resolve/main/Dockerfile
315 Bytes
| # Python version set karein | |
| FROM python:3.10 | |
| # Work directory banayein | |
| WORKDIR /code | |
| # Sabhi files copy karein | |
| COPY . . | |
| # Requirements install karein | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Port 7860 expose karein (Flask ke liye) | |
| EXPOSE 7860 | |
| # Bot start karne ki command | |
| CMD ["python", "Shin.py"] | |