Spaces:
Build error
Build error
| FROM python:3.10 | |
| # working directory | |
| WORKDIR /app | |
| # copy files | |
| COPY . . | |
| # system packages | |
| RUN apt-get update && apt-get install -y ffmpeg | |
| # upgrade pip | |
| RUN pip install --upgrade pip setuptools wheel | |
| # install python deps | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # launch app | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| EXPOSE 7860 | |
| CMD ["python", "run.py"] |