Files
spotify-downloader/Dockerfile
Ritiek Malhotra bbfc3e21c2 Update Dockerfile
2017-12-21 15:06:56 +05:30

17 lines
380 B
Docker

FROM python:3.6-alpine
RUN apk add --no-cache \
ffmpeg
ADD requirements.txt /spotify-downloader/
RUN pip install -r /spotify-downloader/requirements.txt
RUN rm /spotify-downloader/requirements.txt
ADD spotdl.py /spotify-downloader/
ADD core/ /spotify-downloader/core
RUN mkdir /music
WORKDIR /music
ENTRYPOINT ["python3", "/spotify-downloader/spotdl.py", "-f", "/music"]