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"]