The KISS Twitch bot
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

23 Zeilen
460 B

  1. FROM python:3.9-slim
  2. RUN useradd --create-home --shell /bin/bash bot
  3. WORKDIR /home/bot
  4. ENV PATH="/home/bot:${PATH}"
  5. # Prepare environment
  6. RUN python -m pip install --upgrade pip
  7. RUN pip install pipenv
  8. COPY Pipfile.lock .
  9. RUN pipenv sync && pipenv run pip freeze > requirements.txt
  10. # Add files
  11. RUN pip install -r requirements.txt && mkdir config
  12. COPY _twitchbot/ _twitchbot/
  13. COPY bot.py .
  14. USER bot
  15. CMD ["python", "bot.py", "--config=config/config.json"]