Spaces:
Runtime error
Runtime error
Download Dockerfile from syedmoinms/ChatBot: direct link, hf CLI and curl.
- Browser
- Download file 484 Bytes
-
https://huggingface.co/spaces/syedmoinms/ChatBot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/syedmoinms/ChatBot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/syedmoinms/ChatBot/resolve/main/Dockerfile
484 Bytes
| # 1️⃣ Official Python Image Use Karo (Nvidia CUDA Image ki zaroorat nahi) | |
| FROM python:3.10 | |
| # 2️⃣ Working Directory Set Karo | |
| WORKDIR /app | |
| # 3️⃣ System Dependencies Install Karo | |
| RUN apt update && apt install -y git | |
| # 4️⃣ Copy Requirements & Install Dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 5️⃣ Copy Project Files | |
| COPY . . | |
| # 6️⃣ Expose API Port | |
| EXPOSE 7860 | |
| # 7️⃣ Run Server | |
| CMD ["python3", "server.py"] |