FROM alpine:edge as base RUN ["apk", "add", "--no-cache", "icecast"] COPY ["icecast.xml", "/app/icecast.xml"] COPY ["playlist.m3u", "/app/web/playlist.m3u"] FROM scratch COPY --from=base / / USER 1443:1443 ENTRYPOINT ["/usr/bin/icecast", "-c", "/app/icecast.xml"]