Add comments

This commit is contained in:
Eden Kirin
2024-01-11 12:28:55 +01:00
parent 7a458790d2
commit d96368feb6
8 changed files with 109 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#!/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