qobuz-docker/Dockerfile
2021-02-28 12:42:54 +01:00

32 lines
542 B
Docker

FROM ubuntu:20.04
LABEL maintainer="Dehaeze Thomas <dehaeze.thomas@gmail.com>"
ENV \
QOBUZ_NAME="" \
QOBUZ_PASS="" \
PUID="" \
PGID=""
RUN \
groupadd -g 1000 appuser && \
useradd -r -u 1000 -g appuser appuser
RUN \
echo "**** install runtime packages ****" && \
apt-get update && \
apt-get install -y --no-install-recommends \
python3.4 \
python3-pip
WORKDIR /app
RUN pip3 install --upgrade qobuz-dl CherryPy
COPY index.html index.html
COPY main.py main.py
ADD public public
CMD [ "python3", "main.py"]