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
2023-07-15 16:47:32 +02:00

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