Incorporate PR feedback

Move the default assignment of AUDIO_DOWNLOAD_DIR from the Dockerfile to docker-entrypoint.sh, and change the default value from "/downloads" to $DOWNLOAD_DIR.
This commit is contained in:
Andrew Keeton
2026-06-17 17:17:44 -04:00
parent d157444877
commit 04b9366764
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -61,7 +61,6 @@ ENV PGID=1000
ENV UMASK=022
ENV DOWNLOAD_DIR=/downloads
ENV AUDIO_DOWNLOAD_DIR=/downloads
ENV STATE_DIR=/downloads/.metube
ENV TEMP_DIR=/downloads
ENV PORT=8081
+1
View File
@@ -2,6 +2,7 @@
PUID="${UID:-$PUID}"
PGID="${GID:-$PGID}"
AUDIO_DOWNLOAD_DIR="${AUDIO_DOWNLOAD_DIR:-$DOWNLOAD_DIR}"
echo "Setting umask to ${UMASK}"
umask ${UMASK}