Dockerfile 445 B

12345678910111213141516171819
  1. FROM williambutcherbot/python:latest
  2. WORKDIR /wbb
  3. RUN chmod 777 /wbb
  4. # Installing Requirements
  5. RUN pip3 install -U pip
  6. COPY requirements.txt .
  7. RUN pip3 install --no-cache-dir -U -r requirements.txt
  8. # If u want to use /update feature, uncomment the following and edit
  9. #RUN git config --global user.email "your_email"
  10. #RUN git config --global user.name "git_username"
  11. # Copying All Source
  12. COPY . .
  13. # Starting Bot
  14. CMD ["python3", "-m", "wbb"]