Add docker image

This commit is contained in:
Brian J. Cardiff
2017-12-03 02:34:56 -03:00
parent 6075a829e5
commit 5811403116
2 changed files with 25 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.6-alpine
RUN apk add --no-cache \
ffmpeg
ADD requirements.txt /app/
RUN cd /app && pip install -U -r requirements.txt
ADD spotdl.py /app/
ADD core/ /app/core
WORKDIR /app
ENTRYPOINT ["python3", "spotdl.py", "-f", "."]