deemix-docker/Dockerfile
2021-06-30 19:53:14 +02:00

38 lines
929 B
Docker

FROM lsiobase/ubuntu:focal
ARG BUILDDATE
ENV BUILDDATEENV=${BUILDDATE}
LABEL \
app.deemix.image.created="${BUILDDATE}" \
app.deemix.image.url="https://gitlab.com/Bockiii/deemix-docker" \
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
WORKDIR /deemix-gui
RUN yarn install --prod
COPY root/ /
EXPOSE 6595
ENTRYPOINT [ "/init" ]