Dockerfile 537 B

123456789101112131415161718192021
  1. FROM python:3.9.5-buster
  2. WORKDIR /wbb
  3. RUN chmod 777 /wbb
  4. RUN apt-get update -y
  5. RUN apt-get install -y wget curl bash git neofetch sudo software-properties-common ffmpeg
  6. #Updating Libraries
  7. RUN pip3 install -U pip
  8. COPY requirements.txt .
  9. RUN pip3 install --no-cache-dir -U -r requirements.txt
  10. # If u want to use /update feature, uncomment the following and edit
  11. #RUN git config --global user.email "your_email"
  12. #RUN git config --global user.name "git_username"
  13. #Copying All Source
  14. COPY . .
  15. #Starting Bot
  16. CMD ["python3", "-m", "wbb"]