Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update Dockerfile
Description
I've added
git
as install dependency to the install list to fix the issue described in #1508. Also, I've set the default working directory/music
as volume so that, if not changed or mounted specifically, downloaded content still persists after removal of the container.Related Issue
#1508
Motivation and Context
First, it solves the issue described in #1508 and makes the image buildable. Also, it provides a simple fix for an issue, I ran into, which lead to loss of all my downloaded content because I mounted the wrong directory. By automatically creating a volume on the default download directory, this can be prevented as long as the user does not alter the output directory.
How Has This Been Tested?
I've cloned my fork with the changes and built the image which I've then used to download my Spotify library.
Types of Changes
Checklist