10 lines
283 B
Bash
Executable File
10 lines
283 B
Bash
Executable File
#!/usr/bin/sh
|
|
|
|
# start command with exec to replace execution shell and properly receive signals from docker
|
|
# without exec, container can't be gracefully terminated with ctrl+c or docker stop
|
|
exec uvicorn \
|
|
main:app \
|
|
--host 0.0.0.0 \
|
|
--port 3000 \
|
|
--lifespan off
|