mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-12-11 17:42:19 -06:00
18 lines
497 B
Bash
18 lines
497 B
Bash
#!/bin/sh
|
|
|
|
echo "Waiting for backend to be ready..."
|
|
|
|
# Wait for backend to be reachable
|
|
until nc -z bazarr-backend 6767 2>/dev/null; do
|
|
echo "Backend not ready yet, waiting..."
|
|
sleep 5
|
|
done
|
|
|
|
echo "Backend is ready!"
|
|
|
|
# In development mode, we don't need to wait for API key since authentication might be disabled
|
|
echo "Starting frontend in development mode..."
|
|
|
|
# Start the frontend with --no-open to prevent browser auto-open attempts in container
|
|
exec npm run start -- --host --no-open
|