mirror of
https://github.com/alexta69/metube.git
synced 2026-07-03 02:57:05 +00:00
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:
parent
d157444877
commit
04b9366764
2 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue