Closed rupansh closed 5 years ago
Describe the bug Dockerbuild fails if userbot.session does not exist. Possible fix- touch userbot.session
touch userbot.session
To Reproduce Steps to reproduce the behavior:
docker build . -t userbot
Step 12/15 : COPY ./userbot.session ./config.env* /home/userbot/userbot/
Expected behavior Ignore copying userbot.session if it does not exist
Screenshots N/A
Python Version N/A
Additional context N/A
docs not updated. required- pip3 install telethon python-dotenv python3 generate_session_file.py
pip3 install telethon python-dotenv
python3 generate_session_file.py
Describe the bug Dockerbuild fails if userbot.session does not exist. Possible fix-
touch userbot.session
To Reproduce Steps to reproduce the behavior:
docker build . -t userbot
Step 12/15 : COPY ./userbot.session ./config.env* /home/userbot/userbot/
Expected behavior Ignore copying userbot.session if it does not exist
Screenshots N/A
Python Version N/A
Additional context N/A