2021-03-09 18:32:52 +01:00
|
|
|
FROM alpine:edge as base
|
|
|
|
RUN ["apk", "add", "--no-cache", "icecast"]
|
|
|
|
COPY ["icecast.xml", "/app/icecast.xml"]
|
2021-03-09 19:17:21 +01:00
|
|
|
COPY ["playlist.m3u", "/app/web/playlist.m3u"]
|
2021-03-09 18:32:52 +01:00
|
|
|
|
|
|
|
FROM scratch
|
2021-03-09 18:37:41 +01:00
|
|
|
COPY --from=base / /
|
2021-03-09 18:32:52 +01:00
|
|
|
USER 1443:1443
|
|
|
|
ENTRYPOINT ["/usr/bin/icecast", "-c", "/app/icecast.xml"]
|