Spaces:
Sleeping
Sleeping
Download Dockerfile from pranit144/COMPANY_DASHBOARD: direct link, hf CLI and curl.
- Browser
- Download file 521 Bytes
-
https://huggingface.co/spaces/pranit144/COMPANY_DASHBOARD/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/pranit144/COMPANY_DASHBOARD/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/pranit144/COMPANY_DASHBOARD/resolve/main/Dockerfile
521 Bytes
| # Use a Python ≥3.10 image so google-generativeai and supabase install correctly | |
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy only requirements first to leverage layer caching | |
| COPY requirements.txt . | |
| # (Optional) Upgrade pip to latest | |
| RUN pip install --no-cache-dir --upgrade pip | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy your app code | |
| COPY . . | |
| # Expose the port your app listens on | |
| EXPOSE 7860 | |
| # Run with Gunicorn | |
| CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"] | |