Add initial Restreamer implementation for YouTube-to-Jellyfin live restreaming
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip install --no-cache-dir poetry==2.4.1
|
||||
ENV POETRY_VIRTUALENVS_CREATE=false
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml poetry.lock ./
|
||||
RUN poetry install --only main --no-root --no-interaction
|
||||
|
||||
COPY src/ src/
|
||||
COPY serve.py ./
|
||||
|
||||
ENV PYTHONPATH=/app/src
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["python", "serve.py"]
|
||||
Reference in New Issue
Block a user