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

26 lines
481 B
Docker

FROM gerbera/gerbera AS base-deps
RUN apk add rclone
RUN apk add fuse
FROM base-deps
# Prepare mount points
WORKDIR /content
RUN mkdir audio
RUN mkdir radio
# Runtime script copy
WORKDIR /root
COPY bin/wrapper.sh wrapper.sh
RUN chmod +x wrapper.sh
# Configuration files copy
RUN mkdir .config
WORKDIR /root/.config
RUN mkdir rclone
COPY config/rclone.conf rclone/rclone.conf
RUN mkdir gerbera
COPY config/config.xml gerbera/config.xml
# Runtime processes
CMD /root/wrapper.sh