FROM alpine:edge as base RUN ["apk", "add", "--no-cache", "streamlink"] RUN ["mkdir", "/app"] COPY ["stream.py", "/app/stream.py"] FROM scratch COPY --from=base / / USER 1444:1444 ENTRYPOINT ["/app/stream.py"]