6👍
✅
AWS Elastic Beanstalk’s default configuration sets WSGIPath
to application.py
, you either need to rename your file with mappings to application.py or configure the environment to point to your mappings script.
Detailed information can be found in AWS Elastic Beanstalk Python Container Options: Option Values
You can set it with the management console
Or with .ebextensions
option_settings
NB: It should be relative path.
Source:stackexchange.com