Spaces:
Build error
Build error
| FROM debian:stable | |
| USER root | |
| ENV DEBIAN_FRONTEND noninteractive | |
| COPY . /app | |
| RUN chmod -R 777 /app | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install -y ffmpeg python3 python3-pip python3-venv xvfb libgl1-mesa-glx libegl1-mesa libpci3 | |
| RUN python3 -m venv /app/venv | |
| RUN /app/venv/bin/pip install watchdog | |
| RUN /app/venv/bin/pip install uvicorn | |
| RUN /app/venv/bin/pip install fastapi | |
| RUN /app/venv/bin/pip install python-dotenv | |
| RUN /app/venv/bin/pip install discord.py | |
| RUN /app/venv/bin/pip install google-generativeai | |
| RUN /app/venv/bin/pip install aiohttp | |
| COPY stream_videos.py /app/stream_videos.py | |
| CMD ["/app/venv/bin/python", "/app/stream_videos.py"] | |