rig-live-relay / Dockerfile
joshruby's picture
Rig live HLS relay (RAM only)
3ddfdd6 verified
Raw History Blame Contribute Delete
259 Bytes
FROM python:3.12-slim
RUN pip install --no-cache-dir fastapi==0.115.6 uvicorn==0.32.1
RUN useradd -m -u 1000 user
USER user
WORKDIR /home/user/app
COPY --chown=user app.py .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--no-access-log"]