-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting tokens by docker not working #72
Comments
Hi,
Inside that container: then get the skript with: and now run it: |
Thanks @DasPflanze, but I think your steps are missing the script requirements. I got it working with: python -m pip install --upgrade pip
wget https://raw.githubusercontent.com/Chouffy/home_assistant_tgtg/main/requirements.txt
pip install -r requirements.txt
wget https://raw.githubusercontent.com/Chouffy/home_assistant_tgtg/main/tgtg_get_tokens.py
python tgtg_get_tokens.py |
@maxxer you are right, I missed that. Now I wondered why my way was that much quicker and realized, that while I used python:3.9 the Dockerfile used in the manual is running 3.8. Running the Dockerfile with 3.8 took so long, that I canceled it. Changing the Dockerfile to |
System Health details
not relevant to HA
Checklist
Describe the issue
when running
docker build https://github.com/Chouffy/home_assistant_tgtg.git#main --tag "homeassistant_tgtg_tokens:latest"
on ubuntu 20
it fails with
Reproduction steps
Debug logs
Diagnostics dump
No response
The text was updated successfully, but these errors were encountered: