ctrl k
  • Added all ENV variables to Dockerfile because then, some GUI for Docker containers managment pick it up automatically and setting custom values is much easier.

  • Artur Hefczyc committed 4 years ago
    6570be7a
    1 parent c5b29c38
  • Dockerfile
    ■ ■ ■ ■ ■ ■
    skipped 3 lines
    4 4  FROM python:3-onbuild
    5 5  LABEL maintainer="https://github.com/arturhefczyc"
    6 6   
     7 +ENV MY_ID=""
     8 +ENV MY_PW=""
     9 +ENV APP_PORT="8080"
     10 +ENV PROXY=""
     11 +ENV RATE="10M"
     12 +ENV MIN_SLEEP="5"
     13 +ENV MAX_SLEEP="30"
     14 +ENV RM_CACHE_DIR="true"
     15 +ENV PLAYLIST="true"
     16 +ENV SKIP_TEMP="true"
     17 + 
    7 18  # Install ffmpeg.
    8 19  #https://unix.stackexchange.com/questions/508724/failed-to-fetch-jessie-backports-repository
    9 20  RUN echo "deb [check-valid-until=no] http://cdn-fastly.deb.debian.org/debian jessie main" > /etc/apt/sources.list.d/jessie.list
    skipped 27 lines
Page is in error, reload to recover