Download Dockerfile from Mahmous/chatbot2: direct link, hf CLI and curl.
- Browser
- Download file 279 Bytes
-
https://huggingface.co/spaces/Mahmous/chatbot2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mahmous/chatbot2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mahmous/chatbot2/resolve/main/Dockerfile
279 Bytes
| # Use lightweight Python | |
| FROM python:3.10-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy everything | |
| COPY . . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose Hugging Face default port | |
| EXPOSE 7860 | |
| # Run Flask app | |
| CMD ["python", "app.py"] | |