Spaces:
Sleeping
Sleeping
| 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"] |