my problem is like this.
When I run docker compose up -d, the app container fails. So I just typed docker compose logs app and there is an error message like this.
aindo_rick-app-1 | Traceback (most recent call last):
aindo_rick-app-1 | File "/usr/local/bin/uvicorn", line 8, in <module>
aindo_rick-app-1 | sys.exit(main())
aindo_rick-app-1 | File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
aindo_rick-app-1 | return self.main(*args, **kwargs)
aindo_rick-app-1 | File "/usr/local/lib/python3.10/site-packages/click/core.py", line 1078, in main
aindo_rick-app-1 | rv = self.invoke(ctx)
...
aindo_rick-app-1 | ModuleNotFoundError: No module named 'app'
I’ve walk through all the instructions and guides on StackOverflow and github, but they were all not helpful.
I’ve attatched my project file.
https://drive.google.com/file/d/1_cao3b8c24hpCb_JqR6f9OrsiX7scQnS/view?usp=sharing
I did try all the guides and instructions in here and github blogs related to this issue, but they were not helpful in case of me.
Eldo Lee is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.