|
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"] |
|
|