set AUDIO_DOWNLOAD_DIR to the value if DOWNLOAD_DIR if it wasn't overriden in the environment

This commit is contained in:
Alex Shnitman 2021-07-25 20:56:56 +03:00
parent dabaae58e2
commit 3fe107b299
3 changed files with 5 additions and 3 deletions

View file

@ -25,7 +25,6 @@ COPY app ./app
COPY --from=builder /metube/dist/metube ./ui/dist/metube
ENV DOWNLOAD_DIR /downloads
ENV AUDIO_DOWNLOAD_DIR /downloads
VOLUME /downloads
EXPOSE 8081
CMD ["python3", "app/main.py"]