Spaces:
Sleeping
Sleeping
| 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 | |
| RUN python3 -m venv /app/venv | |
| RUN /app/venv/bin/pip install watchdog uvicorn fastapi | |
| CMD ["/app/venv/bin/python", "/app/stream_audio.py"] |