File size: 598 Bytes
27867f1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.12-alpine
#RUN apk add --no-cache --update bash tzdata ffmpeg py3-cryptography py-requests && \
RUN apk add --no-cache --update bash tzdata ffmpeg curl && \
    apk add --no-cache --virtual builddeps gcc musl-dev python3-dev libffi-dev openssl-dev cargo && \
    pip3 install requests && \
    pip3 install streamlink && \
    pip3 install cryptography --no-binary=cryptography && \
    apk del builddeps

COPY requirements.txt /app/requirements.txt

COPY *.py /app/
COPY lib/ /app/lib/
COPY plugins /app/plugins
RUN touch /app/is_container
ENTRYPOINT ["python3", "/app/tvh_main.py"]