mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
b1b15f57e9
Upload releases and snapshots to aws
23 lines
509 B
Docker
23 lines
509 B
Docker
# using edge to get ffmpeg-4.x
|
|
# using testing repo to get pycryptodome
|
|
FROM alpine:edge
|
|
MAINTAINER spaam
|
|
|
|
COPY dist/*.whl .
|
|
|
|
RUN set -xe \
|
|
&& echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
|
|
&& apk add --no-cache \
|
|
ca-certificates \
|
|
python3 \
|
|
py3-pip \
|
|
rtmpdump \
|
|
py3-pycryptodome \
|
|
ffmpeg \
|
|
&& python3 -m pip install *.whl \
|
|
&& rm -f *.whl
|
|
|
|
WORKDIR /data
|
|
|
|
ENTRYPOINT ["python3", "/usr/bin/svtplay-dl"]
|
|
CMD ["--help"] |