Files
2024-01-10 17:37:48 +01:00

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