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

27 lines
481 B
Text
Raw Normal View History

2024-03-30 18:26:30 +01:00
FROM gerbera/gerbera AS base-deps
2023-07-26 16:34:38 +02:00
RUN apk add rclone
2024-03-30 18:33:34 +01:00
RUN apk add fuse
2023-07-15 16:47:32 +02:00
FROM base-deps
2023-07-16 13:03:40 +02:00
# Prepare mount points
2023-07-26 16:34:38 +02:00
WORKDIR /content
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
# Runtime script copy
2023-07-26 16:34:38 +02:00
WORKDIR /root
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-26 16:34:38 +02:00
# 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
2023-07-16 13:03:40 +02:00
# Runtime processes
2023-07-15 16:47:32 +02:00
CMD /root/wrapper.sh