From 04b93667647fe11a28a4b99734da508a1fc948fb Mon Sep 17 00:00:00 2001 From: Andrew Keeton <208120+akeeton@users.noreply.github.com> Date: Wed, 17 Jun 2026 17:17:44 -0400 Subject: [PATCH] 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. --- Dockerfile | 1 - docker-entrypoint.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5a25570..f9896bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 615d477..ad74e2f 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -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}