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.
I'm still quite new to Kubernetes, but I've read that Kubernetes secrets provide a way to securely pass credentials etc. to containers.
In kubernetes/api-deployment.yaml, CLIENT_ID etc. are hard-coded, which is probably not a good practice, since those files are mentioned to be committed to VCS. I'd like to have the workshop being extended in a way that it should how to properly handle such confidential variables ๐.