cthit / playIT-python

A system for letting users queue Spotify, YouTube videos and SoundCloud songs for playback on a client
http://playit.chalmers.it
MIT License
2 stars 1 forks source link

Build Docker files for the diffrent services #9

Open bark opened 8 years ago

Dr-Horv commented 8 years ago

Fixed for backend in: a3267ddc4ff35e415f3ba8153da73d84f9dc6370

Dr-Horv commented 8 years ago

Perhaps @Edholm who's made the startup script is interested in looking into creating a docker-image for the playback client? I've began a bit with (still untested) file below. Need to fix mopidy-config mounting aswell as forward X somehow.

FROM python:3-onbuild

RUN wget -q -O /etc/apt/sources.list.d/mopidy.list https://apt.mopidy.com/jessie.list

RUN apt-get update \
    && apt-get install -y \
        mopidy \
        mopidy-spotify \
        mopidy-soundcloud \
        mpv \
        youtube-dl \
    && rm -rf /var/lib/apt/lists/*

CMD [ "python", "./playIT_client.py" ]