We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38e834a commit 308f25dCopy full SHA for 308f25d
1 file changed
backend/entrypoint.sh
@@ -1,14 +1,11 @@
1
#!/bin/sh
2
3
-echo "=== ENTRYPOINT START ==="
4
-echo "PORT: ${PORT:-8000}"
5
-echo "DATABASE_URL set: $(if [ -n "$DATABASE_URL" ]; then echo 'yes'; else echo 'NO!'; fi)"
+echo "=== ENTRYPOINT v2 ==="
+echo "PORT=${PORT}"
6
7
-echo "Running database migrations..."
8
-alembic upgrade head || { echo "Migration failed!"; exit 1; }
+# Skip seed for now - just start the server
+echo "Running migrations..."
+alembic upgrade head
9
10
-echo "Seeding database..."
11
-python scripts/seed_data.py || echo "Seed skipped or failed (continuing...)"
12
-
13
-echo "Starting server on port ${PORT:-8000}..."
14
-exec uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}
+echo "Starting uvicorn..."
+uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}
0 commit comments