Download Dockerfile from Tribe77/agent-poc: direct link, hf CLI and curl.
- Browser
- Download file 541 Bytes
-
https://huggingface.co/spaces/Tribe77/agent-poc/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Tribe77/agent-poc/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Tribe77/agent-poc/resolve/main/Dockerfile
541 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Copy requirements file | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application files | |
| COPY app.py . | |
| COPY prompt.md . | |
| COPY chainlit.md . | |
| # Copy Chainlit configuration (with customizations) | |
| COPY .chainlit/ .chainlit/ | |
| # Copy public assets (logo, etc.) | |
| COPY public/ public/ | |
| # Expose port 7860 (required for Hugging Face Spaces) | |
| EXPOSE 7860 | |
| # Run Chainlit application | |
| CMD ["chainlit", "run", "app.py", "--host", "0.0.0.0", "--port", "7860"] | |