Download Dockerfile from d-e-e-k-11/chatbot-performance-analyzer: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/spaces/d-e-e-k-11/chatbot-performance-analyzer/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/d-e-e-k-11/chatbot-performance-analyzer/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/d-e-e-k-11/chatbot-performance-analyzer/resolve/main/Dockerfile
305 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt-lists/* | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Expose port 7860 for Hugging Face Spaces | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |