FROM debian:latest AS base-deps RUN apt-get update RUN apt-get install -y rclone RUN apt-get install -y rygel RUN apt-get install -y fuse FROM base-deps WORKDIR /root RUN mkdir audio RUN mkdir .config && cd .config && mkdir rclone # Configuration files copy COPY rclone.conf .config/rclone/rclone.conf COPY rygel.conf .config/rygel.conf # Runtime script copy COPY wrapper.sh wrapper.sh RUN chmod +x wrapper.sh EXPOSE 8000/tcp 1900/udp CMD /root/wrapper.sh