From 6242c2d7c0348c4b0c01abdfc793b3528d7b717d Mon Sep 17 00:00:00 2001 From: Ritiek Malhotra Date: Thu, 21 Dec 2017 13:46:27 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9e6b6a9..1e03823 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,12 +3,12 @@ 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 requirements.txt /spotify-downloader/ +RUN cd /spotify-downloader && pip install -U -r requirements.txt -ADD spotdl.py /app/ -ADD core/ /app/core +ADD spotdl.py /spotify-downloader/ +ADD core/ /spotify-downloader/core -WORKDIR /app +WORKDIR /spotify-downloader -ENTRYPOINT ["python3", "spotdl.py", "-f", "."] +ENTRYPOINT ["python3", "spotdl.py", "-f", "/spotify-downloader"]