Spaces:
Build error
Build error
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install git + build essentials | |
| RUN apt-get update && \ | |
| apt-get install -y git build-essential && \ | |
| apt-get clean && rm -rf /var/lib/apt/lists/* | |
| # Upgrade pip + tooling | |
| RUN pip install --no-cache-dir --upgrade pip setuptools packaging | |
| # Pre-install core packages | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Now clone and install GUI-Actor and Whisper | |
| RUN git clone https://github.com/microsoft/GUI-Actor.git && \ | |
| pip install -e GUI-Actor | |
| RUN pip install git+https://github.com/openai/whisper.git | |
| RUN pip install qwen-vl-utils | |
| # Copy your app | |
| COPY app.py . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |