Skip to content

Commit

Permalink
Added startup.sh for backend
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-wjp committed Feb 8, 2025
1 parent 2fab281 commit 6b2263f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

echo "🔹 Installing dependencies..."
pip install --no-cache-dir --upgrade pip
pip install --no-cache-dir -r requirements.txt

echo "🔹 Starting FastAPI server..."
exec uvicorn backend.main:app --host=0.0.0.0 --port=${PORT:-8000}

0 comments on commit 6b2263f

Please sign in to comment.