From 798b25f3e6e1da7a1abd58e58a7c6d04c15c5bc3 Mon Sep 17 00:00:00 2001 From: Jared Rossberg Date: Sun, 24 Oct 2021 14:25:09 -0600 Subject: [PATCH 1/2] Fix dockerfile entrypoint --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ceb88cf2..dcba36ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,4 +16,4 @@ COPY --from=builder /install /usr/local COPY src /app COPY zs_config.json / WORKDIR /app -ENTRYPOINT ["/usr/local/bin/python", "app.py"] +ENTRYPOINT ["/usr/local/bin/python", "__main__.py"] From e5da26c81abdb9b41c7aae0d31f1d15e4686d321 Mon Sep 17 00:00:00 2001 From: Jared Rossberg Date: Sun, 24 Oct 2021 14:32:50 -0600 Subject: [PATCH 2/2] Update README with Docker usage --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ac87b944..80cfde88 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,13 @@ Options that can be configured in zs_config.json: ANTI_BAN_WAIT_TIME Change this setting if the time waited between bulk downloads is too high or low OVERRIDE_AUTO_WAIT Change this to true if you want to completely disable the wait between songs for faster downloads with the risk of instability ``` + +``` +Docker usage: + docker build -t zspotify . Builds the docker image from the Dockerfile + docker run --name zspotify zspotify Creates and runs a container from the image +``` + ### Will my account get banned if I use this tool? Currently no user has reported their account getting banned after using ZSpotify. This isn't to say _you_ won't get banned as it is technically against Spotify's TOS.