diff --git a/README.md b/README.md index 496b60b..c448b9b 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,9 @@ ___ ## Docker Info: -Currently to build the container you need to run the following command otherwise you get the error ***"TERM environment variable not set."*** -Docker Compose will also fail and result in the same error. - -`docker create -t -e ISDOCKER=cat --name praxis praxis` +To start the bot with **User_Module** activated use this. +`docker exec -ti praxis python3 main.py` # Credentials: diff --git a/main.py b/main.py index 3040fcd..98c6f60 100644 --- a/main.py +++ b/main.py @@ -64,6 +64,8 @@ def user_module_init(dbCert, Empty): userModule_.main() def thread_main(): + if utility.isRunningInDocker() == True: + print("<[DOCKER Detected]>") if not config.skip_splashScreen: utility.splashScreen() global credentials_manager