In README.md there is the following command:
docker run --it --name tgr -p 5000:5000 -e CLIENT_ID="xxxxxxx" -e CLIENT_SECRET="xxxxxxxxxxxxxxx" -e DEBUG="True" tgr
There is two issues with that:
- It should be
-it, rather than --it, since the first one is invalid
- You also need to specify
-e HOST="0.0.0.0" and -e PORT="5000" in order for the app to start.
Additionally, you might want to add:
--rm flag
- When not explicitly passing a value for the env parameters (e.g. just
-e CLIENT_ID) the values from the user's local environment are being used, which might be preferable (because easier), since the user sourced the .env file before anyway.
In
README.mdthere is the following command:There is two issues with that:
-it, rather than--it, since the first one is invalid-e HOST="0.0.0.0"and-e PORT="5000"in order for the app to start.Additionally, you might want to add:
--rmflag-e CLIENT_ID) the values from the user's local environment are being used, which might be preferable (because easier), since the user sourced the.envfile before anyway.