File size: 221 Bytes
5d1ac0e
 
04b73b3
 
 
1
2
3
4
5
#!/bin/bash

# The 'exec' command replaces the shell process with the uvicorn process,
# allowing it to properly receive signals from the container platform.
exec uvicorn app:app --host "0.0.0.0" --port "7860" --workers 1