Closed tylerthome closed 1 month ago
gunicorn
is not a dependency anymore and I can't see where it's being installed. You might be able to get away with running thefastapi run app/main.py --port 8000
command instead.
Good call @paulespinosa - I made this change as you suggested. It's using a virtual env there now because there was an issue running either of the fastapi
and uvicorn
commands as such in the entrypoint.sh. They could run with poetry run
but this caused module references to fail while resolving from import paths. This approach worked as expected in the incubator deployment currently running at https://qa.homeunite.us, but open to any alternative approaches if this looks familiar to anyone.
gunicorn
is not a dependency anymore and I can't see where it's being installed. You might be able to get away with running thefastapi run app/main.py --port 8000
command instead.Good call @paulespinosa - I made this change as you suggested. It's using a virtual env there now because there was an issue running either of the
fastapi
anduvicorn
commands as such in the entrypoint.sh. They could run withpoetry run
but this caused module references to fail while resolving from import paths. This approach worked as expected in the incubator deployment currently running at https://qa.homeunite.us, but open to any alternative approaches if this looks familiar to anyone.
It looks good. Nothing off the top of my head can think of doing it any other way. Nice work!
Completes some items from #627
What changes did you make?
base
andapp
container images to.incubator
directory.incubator
directoryRationale behind the changes?
Testing done for these changes
What did you learn or can share that is new?(optional)
Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)
N/A