This repository has been archived on 2024-08-06. You can view files and clone it, but cannot push or open issues or pull requests.
dlnextcloud/Dockerfile

24 lines
513 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
# Prepare mount points
RUN mkdir audio
RUN mkdir radio
# Configuration files copy
RUN mkdir .config && cd .config && mkdir rclone
COPY config/rclone.conf .config/rclone/rclone.conf
COPY config/rygel.conf .config/rygel.conf
# Runtime script copy
COPY bin/wrapper.sh wrapper.sh
RUN chmod +x wrapper.sh
# Runtime processes
CMD /root/wrapper.sh