Download Dockerfile from jkbytecrafter/autonomous-data-analyst: direct link, hf CLI and curl.
- Browser
- Download file 506 Bytes
-
https://huggingface.co/spaces/jkbytecrafter/autonomous-data-analyst/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jkbytecrafter/autonomous-data-analyst/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jkbytecrafter/autonomous-data-analyst/resolve/main/Dockerfile
506 Bytes
| FROM python:3.10-slim | |
| # System dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application code | |
| COPY . . | |
| # Create necessary directories | |
| RUN mkdir -p datasets reports_output app/models | |
| # Make startup script executable | |
| RUN chmod +x start.sh | |
| # HF Spaces uses port 7860 | |
| EXPOSE 7860 | |
| CMD ["./start.sh"] | |