20 lines
444 B
Plaintext
20 lines
444 B
Plaintext
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install system dependencies including FFmpeg
|
|
RUN apt-get update && apt-get install -y \
|
|
ffmpeg \
|
|
curl \
|
|
git \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install Streamlink
|
|
RUN pip install --no-cache-dir streamlink
|
|
|
|
RUN git clone https://git.fiorinis.com/Home/streamlink-server.git .
|
|
|
|
RUN pip install --no-cache-dir -r ./src/requirements.txt
|
|
|
|
EXPOSE 6090
|
|
CMD ["python3", "src/stream_link_server.py"] |