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

29 lines
518 B
Text
Raw Normal View History

2023-07-27 13:21:24 +02:00
FROM alpine:latest AS base-deps
2023-07-26 16:34:38 +02:00
RUN apk add rclone
RUN apk add gerbera
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-27 13:21:24 +02:00
RUN mkdir /content
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