2021-05-29 23:10:34 +00:00
|
|
|
FROM lsiobase/ubuntu:focal
|
2020-06-05 19:25:27 +00:00
|
|
|
|
2020-06-11 18:45:28 +00:00
|
|
|
ARG BUILDDATE
|
2020-12-03 11:45:08 +00:00
|
|
|
ENV BUILDDATEENV=${BUILDDATE}
|
2020-06-05 19:25:27 +00:00
|
|
|
|
2020-06-11 18:45:28 +00:00
|
|
|
LABEL \
|
|
|
|
app.deemix.image.created="${BUILDDATE}" \
|
|
|
|
app.deemix.image.url="https://gitlab.com/Bockiii/deemix-docker" \
|
2021-05-29 23:10:34 +00:00
|
|
|
app.deemix.image.title="Docker image for Deemix" \
|
|
|
|
app.deemix.image.description="Docker image for Deemix" \
|
|
|
|
maintainer="Bocki"
|
|
|
|
|
|
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash && \
|
|
|
|
apt-get -y --no-install-recommends install >/dev/null \
|
|
|
|
nodejs \
|
|
|
|
jq \
|
|
|
|
iputils-ping \
|
|
|
|
curl \
|
|
|
|
git && \
|
|
|
|
apt-get clean && \
|
|
|
|
rm -rf /var/lib/apt/lists/* && \
|
|
|
|
npm install --global yarn
|
|
|
|
|
|
|
|
RUN git clone https://gitlab.com/RemixDev/deemix-gui.git --recursive && \
|
|
|
|
rm -R /config && \
|
|
|
|
mkdir /deemix-gui/server/music && \
|
|
|
|
mkdir -p /deem/.config/deemix && \
|
|
|
|
ln -sf /deemix-gui/server/music /downloads && \
|
|
|
|
ln -sf /deem/.config/deemix /config
|
|
|
|
|
2021-06-30 17:53:14 +00:00
|
|
|
WORKDIR /deemix-gui
|
2021-05-29 23:10:34 +00:00
|
|
|
|
2021-06-30 17:53:14 +00:00
|
|
|
RUN yarn install --prod
|
2020-06-05 19:25:27 +00:00
|
|
|
|
|
|
|
COPY root/ /
|
|
|
|
|
2020-06-11 18:45:28 +00:00
|
|
|
EXPOSE 6595
|
2021-05-29 23:10:34 +00:00
|
|
|
ENTRYPOINT [ "/init" ]
|