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-26 16:34:38 +02:00

27 lines
508 B
Docker

FROM gerbera/gerbera:latest AS base-deps
RUN apk add rclone
RUN apk add gerbera
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