Spaces:
Sleeping
Sleeping
Download Dockerfile from PrashantGoyal/Findr: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/spaces/PrashantGoyal/Findr/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/PrashantGoyal/Findr/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/PrashantGoyal/Findr/resolve/main/Dockerfile
540 Bytes
| FROM python:3.10-slim | |
| WORKDIR /Server | |
| # 🔴 REQUIRED system libraries for pyarrow / datasets | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| gcc \ | |
| g++ \ | |
| cmake \ | |
| curl \ | |
| libglib2.0-0 \ | |
| libsm6 \ | |
| libxext6 \ | |
| libxrender-dev \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt . | |
| # 🔴 Upgrade tooling and install deps | |
| RUN python -m pip install --upgrade pip setuptools wheel \ | |
| && python -m pip install -r requirements.txt --no-cache-dir | |
| COPY . . | |
| CMD ["python", "-m", "App.app"] | |