Spaces:
Runtime error
Runtime error
Download Dockerfile from Darshanpurohit/RagChatBotTipe: direct link, hf CLI and curl.
- Browser
- Download file 392 Bytes
-
https://huggingface.co/spaces/Darshanpurohit/RagChatBotTipe/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Darshanpurohit/RagChatBotTipe/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Darshanpurohit/RagChatBotTipe/resolve/main/Dockerfile
392 Bytes
| # Use official Python image | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements and install | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all project files | |
| COPY . . | |
| # Expose port 7860 (required by Hugging Face Spaces) | |
| EXPOSE 7860 | |
| # Run with gunicorn | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--timeout", "120", "app:app"] | |