Spaces:
Runtime error
Runtime error
Download Dockerfile from ohollo/harmonic-analysis: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/ohollo/harmonic-analysis/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ohollo/harmonic-analysis/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ohollo/harmonic-analysis/resolve/main/Dockerfile
1.03 kB
| FROM python:3.11 | |
| # RUN pip install --no-cache-dir pip -U && \ | |
| # pip install --no-cache-dir \ | |
| # datasets \ | |
| # "huggingface-hub>=0.30" \ | |
| # "hf-transfer>=0.1.4" \ | |
| # "protobuf<4" \ | |
| # "click<8.1" \ | |
| # "pydantic~=1.0" | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| # Copy project files | |
| RUN apt-get update && apt-get install -y \ | |
| # git \ | |
| # git-lfs \ | |
| ffmpeg \ | |
| # libsm6 \ | |
| # libxext6 \ | |
| # cmake \ | |
| # rsync \ | |
| # libgl1 \ | |
| g++ \ | |
| libsndfile1 \ | |
| timidity \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # && git lfs install | |
| # RUN apt-get update && \ | |
| # apt-get install -y curl && \ | |
| # curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ | |
| # apt-get install -y nodejs && \ | |
| # rm -rf /var/lib/apt/lists/* && \ | |
| # apt-get clean | |
| # Install main requirements with no build isolation to fix numpy dependency issues | |
| RUN pip install --no-cache-dir numpy==2.1.2 && pip install --no-cache-dir --no-build-isolation -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |