Spaces:
Sleeping
Sleeping
Download Dockerfile from YashashMathur/sql_data_analyst: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/spaces/YashashMathur/sql_data_analyst/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/YashashMathur/sql_data_analyst/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/YashashMathur/sql_data_analyst/resolve/main/Dockerfile
310 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Copy requirements first for better caching | |
| COPY requirements.txt . | |
| # Install dependencies using pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all files | |
| COPY . . | |
| # Make sure app.py is executable | |
| RUN chmod +x app.py | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |