-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add a Dockerfile for easy platform-api install #6753
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
Conversation
god i need to rebase lol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to map in Terminal as: http://localhost:6900
@jmaslek Do we want What about the mapping to |
So I added login - good call. (And yeah you saw that the container has to map to localhost). You can mount the image if you wanna persist anything
|
Ok, so login does not work @jmaslek. termios.error: (25, 'Inappropriate ioctl for device') /usr/local/lib/python3.10/getpass.py:91: GetPassWarning: Can not control echo on the terminal.
passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
Enter your personal access token (PAT) to authorize the API and update your local settings.
Skip to use a pre-configured 'user_settings.json' file.
Press Enter to skip or copy (entered values are not displayed on screen) your PAT to the command line: Traceback (most recent call last):
File "/usr/local/lib/python3.10/getpass.py", line 69, in unix_getpass
old = termios.tcgetattr(fd) # a copy to save
termios.error: (25, 'Inappropriate ioctl for device')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/openbb-api", line 5, in <module>
from openbb_platform_api.main import main
File "/usr/local/lib/python3.10/site-packages/openbb_platform_api/main.py", line 48, in <module>
current_settings = get_user_settings(login, CURRENT_USER_SETTINGS, USER_SETTINGS_COPY)
File "/usr/local/lib/python3.10/site-packages/openbb_platform_api/utils/api.py", line 83, in get_user_settings
pat = getpass.getpass(
File "/usr/local/lib/python3.10/getpass.py", line 91, in unix_getpass
passwd = fallback_getpass(prompt, stream)
File "/usr/local/lib/python3.10/getpass.py", line 126, in fallback_getpass
return _raw_input(prompt, stream)
File "/usr/local/lib/python3.10/getpass.py", line 148, in _raw_input
raise EOFError
EOFError |
Gonna need more info -- can't reproduce. Looks like potentially an issue with something in the json. What did you run ? |
lol. I can't reproduce anymore either.. |
Based off of #6749
This just adds a simple dockerfile for integrating openbb[all] with pro