stream-api/Dockerfile
2021-04-30 11:09:49 +02:00

11 lines
297 B
Docker

FROM alpine:edge as base
RUN ["apk", "add", "--no-cache", "--repository", "https://dl-cdn.alpinelinux.org/alpine/edge/testing", "streamlink", "py3-tornado"]
RUN ["mkdir", "/app"]
COPY ["stream.py", "/app/stream.py"]
FROM scratch
COPY --from=base / /
USER 1444:1444
ENTRYPOINT ["/app/stream.py"]