22 lines
452 B
Docker
22 lines
452 B
Docker
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 5001/tcp
|
|
|
|
CMD /root/wrapper.sh
|