2018-12-10 23:53:27 +01:00
|
|
|
# using edge to get ffmpeg-4.x
|
|
|
|
FROM alpine:edge
|
2020-11-19 22:05:46 +01:00
|
|
|
LABEL maintainer="j@i19.se"
|
2019-01-04 23:43:37 +01:00
|
|
|
|
|
|
|
COPY dist/*.whl .
|
|
|
|
|
2018-12-10 23:53:27 +01:00
|
|
|
RUN set -xe \
|
|
|
|
&& apk add --no-cache \
|
|
|
|
ca-certificates \
|
|
|
|
python3 \
|
|
|
|
py3-pip \
|
2019-03-23 01:00:44 +01:00
|
|
|
py3-cryptography \
|
2018-12-10 23:53:27 +01:00
|
|
|
ffmpeg \
|
2023-10-09 23:56:49 +02:00
|
|
|
&& python3 -m pip install --break-system-packages *.whl \
|
2019-01-04 23:43:37 +01:00
|
|
|
&& rm -f *.whl
|
2018-12-10 23:53:27 +01:00
|
|
|
|
|
|
|
WORKDIR /data
|
|
|
|
|
|
|
|
ENTRYPOINT ["python3", "/usr/bin/svtplay-dl"]
|
2019-08-25 00:27:31 +02:00
|
|
|
CMD ["--help"]
|