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

25 lines
513 B
Text
Raw Normal View History

2023-07-15 16:47:32 +02:00
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
2023-07-16 13:03:40 +02:00
# Prepare mount points
2023-07-15 16:47:32 +02:00
RUN mkdir audio
2023-07-16 12:50:18 +02:00
RUN mkdir radio
2023-07-15 16:47:32 +02:00
# Configuration files copy
2023-07-16 13:03:40 +02:00
RUN mkdir .config && cd .config && mkdir rclone
COPY config/rclone.conf .config/rclone/rclone.conf
COPY config/rygel.conf .config/rygel.conf
2023-07-15 16:47:32 +02:00
# Runtime script copy
2023-07-16 13:03:40 +02:00
COPY bin/wrapper.sh wrapper.sh
2023-07-15 16:47:32 +02:00
RUN chmod +x wrapper.sh
2023-07-16 13:03:40 +02:00
# Runtime processes
2023-07-15 16:47:32 +02:00
CMD /root/wrapper.sh