Fix
This commit is contained in:
parent
e34b3af255
commit
c735dd8664
@ -6,11 +6,9 @@ ___
|
|||||||
|
|
||||||
## Docker Info:
|
## Docker Info:
|
||||||
|
|
||||||
Currently to build the container you need to run the following command otherwise you get the error ***"TERM environment variable not set."***
|
To start the bot with **User_Module** activated use this.
|
||||||
Docker Compose will also fail and result in the same error.
|
|
||||||
|
|
||||||
`docker create -t -e ISDOCKER=cat --name praxis praxis`
|
|
||||||
|
|
||||||
|
`docker exec -ti praxis python3 main.py`
|
||||||
|
|
||||||
# Credentials:
|
# Credentials:
|
||||||
|
|
||||||
|
|||||||
2
main.py
2
main.py
@ -64,6 +64,8 @@ def user_module_init(dbCert, Empty):
|
|||||||
userModule_.main()
|
userModule_.main()
|
||||||
|
|
||||||
def thread_main():
|
def thread_main():
|
||||||
|
if utility.isRunningInDocker() == True:
|
||||||
|
print("<[DOCKER Detected]>")
|
||||||
if not config.skip_splashScreen:
|
if not config.skip_splashScreen:
|
||||||
utility.splashScreen()
|
utility.splashScreen()
|
||||||
global credentials_manager
|
global credentials_manager
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user