Add comments
This commit is contained in:
9
api-server-multistage/app/run.sh
Executable file
9
api-server-multistage/app/run.sh
Executable 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
|
||||
Reference in New Issue
Block a user