Download Dockerfile from hittu22/chat: direct link, hf CLI and curl.
- Browser
- Download file 591 Bytes
-
https://huggingface.co/spaces/hittu22/chat/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/hittu22/chat/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/hittu22/chat/resolve/main/Dockerfile
591 Bytes
| FROM ubuntu:22.04 | |
| # Zaroori tools, Python aur libraries install karein | |
| RUN apt-get update && apt-get install -y \ | |
| curl \ | |
| wget \ | |
| python3 \ | |
| python3-pip \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Bitping install karein | |
| RUN curl -L https://bitping.com/install.sh | bash | |
| # Python UI aur automation packages install karein | |
| RUN pip3 install gradio pexpect | |
| # Bitping ka path system me add karein taaki error na aaye | |
| ENV PATH="/root/.bitping/bin:$PATH" | |
| # Files copy karein aur port open karein | |
| COPY app.py /app.py | |
| EXPOSE 7860 | |
| # Python app ko start karein | |
| CMD ["python3", "/app.py"] | |