Add startup script for application deployment
generated with BackendIM... (backend.im)
This commit is contained in:
parent
ddf8c30d23
commit
7e1ce84c0a
9
startup.sh
Normal file
9
startup.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Install all dependencies from requirements.txt
|
||||
echo "Installing dependencies..."
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Start the FastAPI application with uvicorn
|
||||
echo "Starting application..."
|
||||
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
|
Loading…
x
Reference in New Issue
Block a user