FROM alpine RUN apk add --no-cache icecast RUN mkdir -p /var/log/icecast2 && \ chown icecast /var/log/icecast2 COPY icecast.xml /etc/icecast2/icecast.xml USER icecast CMD ["icecast", "-c", "/etc/icecast2/icecast.xml"]