RaphielGang / Telegram-Paperplane

The Paperplane userbot project - a Telegram userbot helping to improve your Telegram experience. https://t.me/tgpaperplane
Other
289 stars 1.06k forks source link

DOCKERFILE: userbot.session needs to exist or else the build fails #148

Closed rupansh closed 5 years ago

rupansh commented 5 years ago

Describe the bug Dockerbuild fails if userbot.session does not exist. Possible fix- touch userbot.session

To Reproduce Steps to reproduce the behavior:

  1. Go to docker build . -t userbot
  2. Click on N/A
  3. Scroll down to Step 12/15 : COPY ./userbot.session ./config.env* /home/userbot/userbot/
  4. See error

Expected behavior Ignore copying userbot.session if it does not exist

Screenshots N/A

Python Version N/A

Additional context N/A

rupansh commented 5 years ago

docs not updated. required- pip3 install telethon python-dotenv python3 generate_session_file.py