Dockerfile 551 B

1234567891011121314151617181920212223242526272829303132
  1. FROM python:3.8-slim
  2. RUN apt-get update && apt-get install -y \
  3. git \
  4. curl \
  5. sudo \
  6. libwebp-dev \
  7. redis \
  8. neofetch \
  9. libssl-dev \
  10. libjpeg-dev \
  11. jq \
  12. pv
  13. ENV PATH="/usr/src/app/bin:$PATH"
  14. WORKDIR /usr/src/app
  15. RUN git clone https://github.com/RaphielGang/Telegram-UserBot.git -b master ./
  16. RUN pip install -r requirements.txt
  17. #
  18. # Copies session and config(if it exists)
  19. #
  20. COPY ./sample_config.env ./userbot.session* ./config.env* ./client_secrets.json* ./secret.json* ./spotify_session* ./
  21. #
  22. # Finalization
  23. #
  24. CMD ["bash","init/start.sh"]