alternative backend for subsonic music server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
551 B

  1. FROM ubuntu:focal
  2. RUN apt-get update && \
  3. DEBIAN_FRONTEND=noninteractive apt-get install -y ffmpeg
  4. RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip libxml2-dev libxslt1-dev sudo sqlite3 && \
  5. useradd --create-home --uid 1000 app
  6. ADD requirements.txt /tmp/requirements.txt
  7. RUN pip3 install -r /tmp/requirements.txt
  8. ADD . /tmp/code
  9. RUN cd /tmp/code && \
  10. python3 setup.py install && \
  11. mv start.sh / && \
  12. chmod +x /start.sh
  13. ENTRYPOINT ["/start.sh", "--database-path", "/db/pysonic.sqlite", "--dirs", "/library"]